diff src/share/vm/oops/method.cpp @ 13010:bd3237e0e18d

8026328: Setting a breakpoint on invokedynamic crashes the JVM Reviewed-by: jrose, roland
author twisti
date Thu, 24 Oct 2013 16:23:07 -0700
parents ac9cb1d5a202
children 096c224171c4 606acabe7b5c
line wrap: on
line diff
--- a/src/share/vm/oops/method.cpp	Wed Oct 23 19:22:28 2013 +0000
+++ b/src/share/vm/oops/method.cpp	Thu Oct 24 16:23:07 2013 -0700
@@ -1515,7 +1515,10 @@
       return bp->orig_bytecode();
     }
   }
-  ShouldNotReachHere();
+  {
+    ResourceMark rm;
+    fatal(err_msg("no original bytecode found in %s at bci %d", name_and_sig_as_C_string(), bci));
+  }
   return Bytecodes::_shouldnotreachhere;
 }