The test test/sun/misc/Version/VersionCheck.java needs to be deleted in both jdk7 and 6u5 as it is not correct anymore after the fix for new HSX versionning: 6590301: HotSpot VM should have own version separate from JDK version This is a relevant email thread below: ------------------------------------------------------------------------ java.lang.RuntimeException: Mismatched jvmMajorVersion = 11 jdkMajorVersion = 1 at VersionCheck.main(VersionCheck.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:623) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78) at java.lang.Thread.run(Thread.java:659) I don't see a CR for it. - jjh ----------------------------------------------------------------------- Some questions were raised earlier. The VersionCheck.java was added as a sanity test for the fix for 6272688 which defines a new private interface between SDK and VM to pass version information. This test is intended to catch regression introduced to this private interface. A side effect of this test can make sure that a VM of a correct version of VM is dropped to the JDK but it's not the main purpose of the test. Since the HS version is now changed, we need to think of a different way to verify if the jvm_version_info interface is correct, if possible. Similarly for the SDK side. As Jim mentioned, we can't have regression tests failing. Please delete the test and you can add a new regression test later when you determine a way to verify it. Mandy -----------------------------------------------------------------------
|