mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8188870: Bump classfile version number to 54
Reviewed-by: alanb, dholmes, coleenp, mcimadamore
This commit is contained in:
parent
0c7be1d9e7
commit
2c9ed8e178
16 changed files with 96 additions and 48 deletions
|
@ -86,7 +86,7 @@
|
|||
|
||||
#define JAVA_CLASSFILE_MAGIC 0xCAFEBABE
|
||||
#define JAVA_MIN_SUPPORTED_VERSION 45
|
||||
#define JAVA_MAX_SUPPORTED_VERSION 53
|
||||
#define JAVA_MAX_SUPPORTED_VERSION 54
|
||||
#define JAVA_MAX_SUPPORTED_MINOR_VERSION 0
|
||||
|
||||
// Used for two backward compatibility reasons:
|
||||
|
@ -108,6 +108,8 @@
|
|||
|
||||
#define JAVA_9_VERSION 53
|
||||
|
||||
#define JAVA_10_VERSION 54
|
||||
|
||||
void ClassFileParser::set_class_bad_constant_seen(short bad_constant) {
|
||||
assert((bad_constant == 19 || bad_constant == 20) && _major_version >= JAVA_9_VERSION,
|
||||
"Unexpected bad constant pool entry");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue