< prev index next >

src/hotspot/share/classfile/verifier.cpp

Print this page
rev 50985 : 8206977: Minor improvements of runtime code.
Reviewed-by: coleenp, lfoltan

@@ -717,11 +717,12 @@
       LogTarget(Info, verification) lt;
       if (lt.is_enabled()) {
         ResourceMark rm(THREAD);
         LogStream ls(lt);
         current_frame.print_on(&ls);
-        lt.print("offset = %d,  opcode = %s", bci, Bytecodes::name(opcode));
+        lt.print("offset = %d,  opcode = %s", bci,
+                 opcode == Bytecodes::_illegal ? "illegal" : Bytecodes::name(opcode));
       }
 
       // Make sure wide instruction is in correct format
       if (bcs.is_wide()) {
         if (opcode != Bytecodes::_iinc   && opcode != Bytecodes::_iload  &&
< prev index next >