- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    7
- 
        b64
- 
        generic
- 
        generic
- 
        Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-2185795 | OpenJDK6 | Kelly Ohair | P3 | Resolved | Fixed | b18 | 
                    Problem with jdk/src/share/demo/jvmti/java_crw_demo/java_crw_demo.c:
CRW_ASSERT(ci, classfileVersion <= 50); /* Mustang class files or less */
Should add to
./jdk/src/share/javavm/export/classfile_constants.h
Something like:
#define JAVA_MAX_SUPPORTED_VERSION 51
Changing above from
CRW_ASSERT(ci, classfileVersion <= 50);
to
CRW_ASSERT(ci, classfileVersion <= JAVA_MAX_SUPPORTED_VERSION);
            
CRW_ASSERT(ci, classfileVersion <= 50); /* Mustang class files or less */
Should add to
./jdk/src/share/javavm/export/classfile_constants.h
Something like:
#define JAVA_MAX_SUPPORTED_VERSION 51
Changing above from
CRW_ASSERT(ci, classfileVersion <= 50);
to
CRW_ASSERT(ci, classfileVersion <= JAVA_MAX_SUPPORTED_VERSION);
- backported by
- 
                    JDK-2185795 Fix classfile version check in java_crw_demo -           
- Resolved
 
-         
- relates to
- 
                    JDK-6855551 java -Xrunhprof crashes when running with classes compiled with targed=7 -           
- Resolved
 
-         
- 
                    JDK-8003632 HPROF class file version java.lang.RuntimeException errors -           
- Closed
 
-