8148785: Update class file version to 53 for JDK-9

Change max supported class file version to 53

Reviewed-by: alanb, coleenp, shade
This commit is contained in:
Harold Seigel 2016-02-05 08:14:08 -05:00
parent 1322b0fe56
commit b2ab041bf5
2 changed files with 46 additions and 1 deletions

View file

@ -80,7 +80,7 @@
#define JAVA_CLASSFILE_MAGIC 0xCAFEBABE
#define JAVA_MIN_SUPPORTED_VERSION 45
#define JAVA_MAX_SUPPORTED_VERSION 52
#define JAVA_MAX_SUPPORTED_VERSION 53
#define JAVA_MAX_SUPPORTED_MINOR_VERSION 0
// Used for two backward compatibility reasons:
@ -101,6 +101,8 @@
// Extension method support.
#define JAVA_8_VERSION 52
#define JAVA_9_VERSION 53
enum { LegalClass, LegalField, LegalMethod }; // used to verify unqualified names
void ClassFileParser::parse_constant_pool_entries(const ClassFileStream* const stream,