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

64bit-jre doesn't support -client option on ubuntu-x64

XMLWordPrintable

      platform:ubuntu-x64

       jre-64bit

       build:6u14b05

       we have some test case like:

       Code below:
       _________________________________________________________________

       public boolean checkForSelectedVM(String mode) {
       System.out.println("Inside selected "+mode);
       try {

       String vmName = "Client";

       if(mode.indexOf("-server") != -1)

       vmName = "Server";

       String str = System.getProperty("java.vm.name");

       if(str.indexOf(vmName) != -1) {

       System.out.println("STATUS: "+ testName + " PASSED");

       return true;

       } else {

       System.out.println("STATUS: "+ testName + " FAILED");

       return false;

       }

       ___________________________________________________________________

       Result: The value of java.vm.name is server but the parameter "mode" is -client when we test, so they don't match.

      I tried other linux-amd64(not ubuntu 64), the -client is there and supported.

      So we file a jdk bug first, if it turns out not a
      jdk bug(not supported anymore), then anyone from JDK product team can add comments and close it. Then we from SQE team say
      the test case should handle this ubuntuX64 case.

            Unassigned Unassigned
            tonyli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: