changeset 772:3672e1dac765

6834142: method->print_codes(): Error: ShouldNotReachHere() Summary: Restore the call to Bytecodes::java_code() in BytecodePrinter::print_attributes(). Reviewed-by: jrose
author kvn
date Mon, 27 Apr 2009 12:45:14 -0700
parents fb4c18a2ec66
children 27e8e660fbd0
files src/share/vm/interpreter/bytecodeTracer.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/interpreter/bytecodeTracer.cpp	Fri Apr 24 15:08:30 2009 -0700
+++ b/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.