src/hotspot/share/classfile/classFileParser.cpp
changeset 54553 62771002a1cb
parent 54552 c09bdb9043f1
parent 53338 5afdd1100a20
child 54554 c171aa9e5d3e
equal deleted inserted replaced
54552:c09bdb9043f1 54553:62771002a1cb
   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 }