src/share/vm/classfile/classFileParser.cpp

changeset 4819
36376b540a98
parent 4719
c8b31b461e1a
child 4870
cd9ad42dfde0
equal deleted inserted replaced
4817:b8deb3205b51 4819:36376b540a98
2194 code_attribute_length, 2194 code_attribute_length,
2195 &localvariable_type_table_length[lvtt_cnt], 2195 &localvariable_type_table_length[lvtt_cnt],
2196 true, // is LVTT 2196 true, // is LVTT
2197 CHECK_(nullHandle)); 2197 CHECK_(nullHandle));
2198 lvtt_cnt++; 2198 lvtt_cnt++;
2199 } else if (UseSplitVerifier && 2199 } else if (_major_version >= Verifier::STACKMAP_ATTRIBUTE_MAJOR_VERSION &&
2200 _major_version >= Verifier::STACKMAP_ATTRIBUTE_MAJOR_VERSION &&
2201 _cp->symbol_at(code_attribute_name_index) == vmSymbols::tag_stack_map_table()) { 2200 _cp->symbol_at(code_attribute_name_index) == vmSymbols::tag_stack_map_table()) {
2202 // Stack map is only needed by the new verifier in JDK1.5. 2201 // Stack map is only needed by the new verifier in JDK1.5.
2203 if (parsed_stackmap_attribute) { 2202 if (parsed_stackmap_attribute) {
2204 classfile_parse_error("Multiple StackMapTable attributes in class file %s", CHECK_(nullHandle)); 2203 classfile_parse_error("Multiple StackMapTable attributes in class file %s", CHECK_(nullHandle));
2205 } 2204 }

mercurial