JDK-6899467 : System property java.class.version out-of-sync with VM for jdk 5.0 with HS 16 in nightly build
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 5.0u22
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_suse_sles_10
  • CPU: generic
  • Submitted: 2009-11-09
  • Updated: 2011-03-07
  • Resolved: 2011-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u19Fixed 7Fixed hs16Fixed
See comments
Removed 'regression' keyword as HSX in 5.0 is a new feature!

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/2e8bdfdd3ba2

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/2e8bdfdd3ba2

EVALUATION The root cause is that "is_supported_version" implementation in ClassFileParser didn't take into consideration of the possibility that it could work with JDK 5. The logic needs to be enhanced to make the VM to avoid working with class file major version greater than 49.