6695506: JVM should accept classfiles with classfile version 51
Summary: increase class file parser's acceptable max to 51
Reviewed-by: sbohne, ikrylov
--- 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: