-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
6u14
-
x86
-
linux_ubuntu
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.
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.