7054345: Support version 52.0 class file in HotSpot
authorkamg
Thu, 11 Oct 2012 14:27:54 -0400
changeset 14079 5e5c9b7ce8cb
parent 14078 2b2b8833c422
child 14080 801ad8934f8f
7054345: Support version 52.0 class file in HotSpot Summary: Accept classfiles with major version 52 Reviewed-by: coleenp, acorn
hotspot/src/share/vm/classfile/classFileParser.cpp
--- a/hotspot/src/share/vm/classfile/classFileParser.cpp	Wed Oct 10 17:04:33 2012 -0400
+++ b/hotspot/src/share/vm/classfile/classFileParser.cpp	Thu Oct 11 14:27:54 2012 -0400
@@ -67,7 +67,7 @@
 
 #define JAVA_CLASSFILE_MAGIC              0xCAFEBABE
 #define JAVA_MIN_SUPPORTED_VERSION        45
-#define JAVA_MAX_SUPPORTED_VERSION        51
+#define JAVA_MAX_SUPPORTED_VERSION        52
 #define JAVA_MAX_SUPPORTED_MINOR_VERSION  0
 
 // Used for two backward compatibility reasons: