6695506: JVM should accept classfiles with classfile version 51
authorkamg
Wed, 30 Apr 2008 10:58:37 -0400
changeset 383 f28a487324aa
parent 382 02c0a63f30d6
child 384 5b11326ad6d8
6695506: JVM should accept classfiles with classfile version 51 Summary: increase class file parser's acceptable max to 51 Reviewed-by: sbohne, ikrylov
hotspot/src/share/vm/classfile/classFileParser.cpp
--- a/hotspot/src/share/vm/classfile/classFileParser.cpp	Tue Apr 29 19:31:29 2008 -0400
+++ b/hotspot/src/share/vm/classfile/classFileParser.cpp	Wed Apr 30 10:58:37 2008 -0400
@@ -34,7 +34,7 @@
 
 #define JAVA_CLASSFILE_MAGIC              0xCAFEBABE
 #define JAVA_MIN_SUPPORTED_VERSION        45
-#define JAVA_MAX_SUPPORTED_VERSION        50
+#define JAVA_MAX_SUPPORTED_VERSION        51
 #define JAVA_MAX_SUPPORTED_MINOR_VERSION  0
 
 // Used for two backward compatibility reasons: