JDK-8157188 : 2 test failures in demo/jvmti due to unexpected class file version 53
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 9
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-05-17
  • Updated: 2017-09-06
  • Resolved: 2016-05-19
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 9
9 b122Fixed
Related Reports
Relates :  
Relates :  
Description
CRW: CRW ASSERTION FAILURE: (classfileMajorVersion <= JVM_CLASSFILE_MAJOR_VERSION) || ((classfileMajorVersion == JVM_CLASSFILE_MAJOR_VERSION) && (classfileMinorVersion <= JVM_CLASSFILE_MINOR_VERSION)) (MinstExample:?:-1) [java_crw_demo.c:2303]

Comments
Seems this file is always being forgotten when the class file version changes. See JDK-8003632
19-05-2016

Same basic problem that hit the Tonga tests during PIT. We pulled down a change to the default classfile version but this code hasn't been updated: ./java.base/share/native/include/classfile_constants.h #define JVM_CLASSFILE_MAJOR_VERSION 52 Should be 53 now. I would not be surprised if there were not already a bug filed for this.
17-05-2016