hotspot/src/share/vm/classfile/verifier.cpp
changeset 25714 87fa6860b5ae
parent 24663 48203b12ee8e
child 25717 7493b8ac31b7
equal deleted inserted replaced
25713:e2ed3bec8c2c 25714:87fa6860b5ae
   437 
   437 
   438 void ErrorContext::location_details(outputStream* ss, const Method* method) const {
   438 void ErrorContext::location_details(outputStream* ss, const Method* method) const {
   439   if (_bci != -1 && method != NULL) {
   439   if (_bci != -1 && method != NULL) {
   440     streamIndentor si(ss);
   440     streamIndentor si(ss);
   441     const char* bytecode_name = "<invalid>";
   441     const char* bytecode_name = "<invalid>";
   442     if (method->validate_bci_from_bcx(_bci) != -1) {
   442     if (method->validate_bci(_bci) != -1) {
   443       Bytecodes::Code code = Bytecodes::code_or_bp_at(method->bcp_from(_bci));
   443       Bytecodes::Code code = Bytecodes::code_or_bp_at(method->bcp_from(_bci));
   444       if (Bytecodes::is_defined(code)) {
   444       if (Bytecodes::is_defined(code)) {
   445           bytecode_name = Bytecodes::name(code);
   445           bytecode_name = Bytecodes::name(code);
   446       } else {
   446       } else {
   447           bytecode_name = "<illegal>";
   447           bytecode_name = "<illegal>";