mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
6834142: method->print_codes(): Error: ShouldNotReachHere()
Restore the call to Bytecodes::java_code() in BytecodePrinter::print_attributes(). Reviewed-by: jrose
This commit is contained in:
parent
60e1a19b44
commit
a1533dafce
1 changed files with 1 additions and 0 deletions
|
@ -300,6 +300,7 @@ void BytecodePrinter::print_field_or_method(int i, outputStream* st) {
|
|||
|
||||
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue