7187290: nightly failures after JSR 292 lazy method handle update

Reviewed-by: kvn, twisti
This commit is contained in:
Christian Thalinger 2012-07-27 16:14:15 -07:00
parent 12901d0e5b
commit b9eb5785cc
4 changed files with 33 additions and 30 deletions

View file

@ -641,8 +641,8 @@ void Parse::catch_call_exceptions(ciExceptionHandlerStream& handlers) {
#ifndef PRODUCT
// We do not expect the same handler bci to take both cold unloaded
// and hot loaded exceptions. But, watch for it.
if (extype->is_loaded()) {
tty->print_cr("Warning: Handler @%d takes mixed loaded/unloaded exceptions in ");
if ((Verbose || WizardMode) && extype->is_loaded()) {
tty->print("Warning: Handler @%d takes mixed loaded/unloaded exceptions in ", bci());
method()->print_name(); tty->cr();
} else if (PrintOpto && (Verbose || WizardMode)) {
tty->print("Bailing out on unloaded exception type ");