changeset 136:7f3a69574470

6695506: JVM should accept classfiles with classfile version 51 Summary: increase class file parser's acceptable max to 51 Reviewed-by: sbohne, ikrylov
author kamg
date Wed, 30 Apr 2008 10:58:37 -0400
parents b7268662a986
children 53735b80b9f1
files src/share/vm/classfile/classFileParser.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileParser.cpp	Tue Apr 29 19:31:29 2008 -0400
+++ b/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: