equal
deleted
inserted
replaced
117 |
117 |
118 #define JAVA_11_VERSION 55 |
118 #define JAVA_11_VERSION 55 |
119 |
119 |
120 #define JAVA_12_VERSION 56 |
120 #define JAVA_12_VERSION 56 |
121 |
121 |
|
122 #define JAVA_13_VERSION 57 |
|
123 |
122 void ClassFileParser::set_class_bad_constant_seen(short bad_constant) { |
124 void ClassFileParser::set_class_bad_constant_seen(short bad_constant) { |
123 assert((bad_constant == 19 || bad_constant == 20) && _major_version >= JAVA_9_VERSION, |
125 assert((bad_constant == 19 || bad_constant == 20) && _major_version >= JAVA_9_VERSION, |
124 "Unexpected bad constant pool entry"); |
126 "Unexpected bad constant pool entry"); |
125 if (_bad_constant_seen == 0) _bad_constant_seen = bad_constant; |
127 if (_bad_constant_seen == 0) _bad_constant_seen = bad_constant; |
126 } |
128 } |