mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
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:
parent
1322b0fe56
commit
b2ab041bf5
2 changed files with 46 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue