# HG changeset patch # User kvn # Date 1240861514 25200 # Node ID c2b1f85a1b2a539bdf9020ae57a748b5a32545f1 # Parent a3babdbbca5110453aa216645829a14ee54d6441 6834142: method->print_codes(): Error: ShouldNotReachHere() Summary: Restore the call to Bytecodes::java_code() in BytecodePrinter::print_attributes(). Reviewed-by: jrose diff -r a3babdbbca51 -r c2b1f85a1b2a hotspot/src/share/vm/interpreter/bytecodeTracer.cpp --- a/hotspot/src/share/vm/interpreter/bytecodeTracer.cpp Fri Apr 24 15:08:30 2009 -0700 +++ b/hotspot/src/share/vm/interpreter/bytecodeTracer.cpp Mon Apr 27 12:45:14 2009 -0700 @@ -300,6 +300,7 @@ void BytecodePrinter::print_attributes(Bytecodes::Code code, int bci, outputStream* st) { // Show attributes of pre-rewritten codes + code = Bytecodes::java_code(code); // If the code doesn't have any fields there's nothing to print. // note this is ==1 because the tableswitch and lookupswitch are // zero size (for some reason) and we want to print stuff out for them.