equal
deleted
inserted
replaced
123 |
123 |
124 #define JAVA_12_VERSION 56 |
124 #define JAVA_12_VERSION 56 |
125 |
125 |
126 #define JAVA_13_VERSION 57 |
126 #define JAVA_13_VERSION 57 |
127 |
127 |
|
128 #define JAVA_14_VERSION 58 |
|
129 |
128 void ClassFileParser::set_class_bad_constant_seen(short bad_constant) { |
130 void ClassFileParser::set_class_bad_constant_seen(short bad_constant) { |
129 assert((bad_constant == JVM_CONSTANT_Module || |
131 assert((bad_constant == JVM_CONSTANT_Module || |
130 bad_constant == JVM_CONSTANT_Package) && _major_version >= JAVA_9_VERSION, |
132 bad_constant == JVM_CONSTANT_Package) && _major_version >= JAVA_9_VERSION, |
131 "Unexpected bad constant pool entry"); |
133 "Unexpected bad constant pool entry"); |
132 if (_bad_constant_seen == 0) _bad_constant_seen = bad_constant; |
134 if (_bad_constant_seen == 0) _bad_constant_seen = bad_constant; |