src/hotspot/share/classfile/vmSymbols.cpp
changeset 59056 15936b142f86
parent 58931 304c63b17b07
equal deleted inserted replaced
59055:57ad70bcf06c 59056:15936b142f86
  1067     }
  1067     }
  1068   }
  1068   }
  1069 
  1069 
  1070   const char* declared_name = name_at(declared_id);
  1070   const char* declared_name = name_at(declared_id);
  1071   const char* actual_name   = name_at(actual_id);
  1071   const char* actual_name   = name_at(actual_id);
  1072   methodHandle mh = m;
       
  1073   m = NULL;
  1072   m = NULL;
  1074   ttyLocker ttyl;
  1073   ttyLocker ttyl;
  1075   if (xtty != NULL) {
  1074   if (xtty != NULL) {
  1076     xtty->begin_elem("intrinsic_misdeclared actual='%s' declared='%s'",
  1075     xtty->begin_elem("intrinsic_misdeclared actual='%s' declared='%s'",
  1077                      actual_name, declared_name);
  1076                      actual_name, declared_name);
  1078     xtty->method(mh);
  1077     xtty->method(m);
  1079     xtty->end_elem("%s", "");
  1078     xtty->end_elem("%s", "");
  1080   }
  1079   }
  1081   if (PrintMiscellaneous && (WizardMode || Verbose)) {
  1080   if (PrintMiscellaneous && (WizardMode || Verbose)) {
  1082     tty->print_cr("*** misidentified method; %s(%d) should be %s(%d):",
  1081     tty->print_cr("*** misidentified method; %s(%d) should be %s(%d):",
  1083                   declared_name, declared_id, actual_name, actual_id);
  1082                   declared_name, declared_id, actual_name, actual_id);
  1084     mh()->print_short_name(tty);
  1083     m->print_short_name(tty);
  1085     tty->cr();
  1084     tty->cr();
  1086   }
  1085   }
  1087 }
  1086 }
  1088 #endif //PRODUCT
  1087 #endif //PRODUCT