Tested platform: Solaris-sparc 10, Windows 2000 Pro (sp4)
build: J2SE 6.0-build 37
Problem:
Error thrown when using \jvmti\versionCheck
ERROR: Compile Time JVMTI and Run Time JVMTI are incompatible
Note: This is a regression. It works fine in J2SE 6.0 build 36, there is not error
message.
Steps to reproduce:
- Install JDK 6.0 -build 37 onto the test system
- Set LD_LIBRARY_PATH point to <instaled_JDK-b37-dir>/demo/versionCheck/lib
- Execute <instaled_JDK-b37-dir>/bin/java -agentlib:versionCheck -version
* Expected behaviour:
Dipsplay the java version
* Actual behaviour: Error message:
ERROR: Compile Time JVMTI and Run Time JVMTI are incompatible
Detailed Log:
bash-3.00# uname -a
SunOS vulpecula 5.10 Generic sun4u sparc SUNW,Ultra-60
bash-3.00# java -version
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b37)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode, sharing)
bash-3.00# java -agentlib:versionCheck -version
Compile Time JVMTI Version: 1.0.39 (0x30010027)
Run Time JVMTI Version: 1.1.58 (0x3001013a)
ERROR: Compile Time JVMTI and Run Time JVMTI are incompatible
bash-3.00#
###@###.### 2005-05-27 17:32:48 GMT
- duplicates
-
JDK-6276900 Change jvmti.h versionCheck to be error if compiletime version > runtime version
-
- Resolved
-