Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8200115

System property java.vm.vendor value includes quotation marks

XMLWordPrintable

    • b41
    • 10
    • b19
    • generic

        FULL PRODUCT VERSION :
        java version "10" 2018-03-20
        Java(TM) SE Runtime Environment 18.3 (build 10+46)
        Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows [Version 6.1.7601]

        A DESCRIPTION OF THE PROBLEM :
        The value for the system property java.vm.vendor includes quotation marks.

        REGRESSION. Last worked in version 9.0.4

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        public class VendorTest
        {
           public static void main( String[] args )
           {
              System.out.println( System.getProperty( "java.vm.vendor" ) );
           }
        }


        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Output:
        Oracle Corporation
        ACTUAL -
        Output:
        "Oracle Corporation"

        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        public class VendorTest
        {
           public static void main( String[] args )
           {
              System.out.println( System.getProperty( "java.vm.vendor" ) );
           }
        }

        ---------- END SOURCE ----------

              erikj Erik Joelsson
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: