< prev index next >

src/hotspot/share/classfile/vmSymbols.cpp

Print this page




1015       declared_id = match_method_with_klass(m, vmSymbols::java_lang_Math());
1016       if (declared_id == actual_id)  return; // acceptable alias
1017       break;
1018     default:
1019         break;
1020     }
1021   }
1022 
1023   const char* declared_name = name_at(declared_id);
1024   const char* actual_name   = name_at(actual_id);
1025   methodHandle mh = m;
1026   m = NULL;
1027   ttyLocker ttyl;
1028   if (xtty != NULL) {
1029     xtty->begin_elem("intrinsic_misdeclared actual='%s' declared='%s'",
1030                      actual_name, declared_name);
1031     xtty->method(mh);
1032     xtty->end_elem("%s", "");
1033   }
1034   if (PrintMiscellaneous && (WizardMode || Verbose)) {

1035     tty->print_cr("*** misidentified method; %s(%d) should be %s(%d):",
1036                   declared_name, declared_id, actual_name, actual_id);
1037     mh()->print_short_name(tty);
1038     tty->cr();
1039   }
1040 }
1041 #endif //PRODUCT


1015       declared_id = match_method_with_klass(m, vmSymbols::java_lang_Math());
1016       if (declared_id == actual_id)  return; // acceptable alias
1017       break;
1018     default:
1019         break;
1020     }
1021   }
1022 
1023   const char* declared_name = name_at(declared_id);
1024   const char* actual_name   = name_at(actual_id);
1025   methodHandle mh = m;
1026   m = NULL;
1027   ttyLocker ttyl;
1028   if (xtty != NULL) {
1029     xtty->begin_elem("intrinsic_misdeclared actual='%s' declared='%s'",
1030                      actual_name, declared_name);
1031     xtty->method(mh);
1032     xtty->end_elem("%s", "");
1033   }
1034   if (PrintMiscellaneous && (WizardMode || Verbose)) {
1035     ResourceMark rm;
1036     tty->print_cr("*** misidentified method; %s(%d) should be %s(%d):",
1037                   declared_name, declared_id, actual_name, actual_id);
1038     mh()->print_short_name(tty);
1039     tty->cr();
1040   }
1041 }
1042 #endif //PRODUCT
< prev index next >