comparison src/share/vm/classfile/classFileParser.cpp @ 6868:48a75d2640a5

7054345: Support version 52.0 class file in HotSpot Summary: Accept classfiles with major version 52 Reviewed-by: coleenp, acorn
author kamg
date Thu, 11 Oct 2012 14:27:54 -0400
parents d8ce2825b193
children e52361627b65
comparison
equal deleted inserted replaced
6867:bdb5f8c9978b 6868:48a75d2640a5
65 65
66 // We add assert in debug mode when class format is not checked. 66 // We add assert in debug mode when class format is not checked.
67 67
68 #define JAVA_CLASSFILE_MAGIC 0xCAFEBABE 68 #define JAVA_CLASSFILE_MAGIC 0xCAFEBABE
69 #define JAVA_MIN_SUPPORTED_VERSION 45 69 #define JAVA_MIN_SUPPORTED_VERSION 45
70 #define JAVA_MAX_SUPPORTED_VERSION 51 70 #define JAVA_MAX_SUPPORTED_VERSION 52
71 #define JAVA_MAX_SUPPORTED_MINOR_VERSION 0 71 #define JAVA_MAX_SUPPORTED_MINOR_VERSION 0
72 72
73 // Used for two backward compatibility reasons: 73 // Used for two backward compatibility reasons:
74 // - to check for new additions to the class file format in JDK1.5 74 // - to check for new additions to the class file format in JDK1.5
75 // - to check for bug fixes in the format checker in JDK1.5 75 // - to check for bug fixes in the format checker in JDK1.5