hotspot/src/share/vm/oops/method.cpp
changeset 23491 f690330b10b9
parent 21198 dd647e8d1d72
child 23526 6851d341ad52
child 23519 9a78876cefeb
--- a/hotspot/src/share/vm/oops/method.cpp	Wed Mar 19 11:37:58 2014 -0700
+++ b/hotspot/src/share/vm/oops/method.cpp	Thu Mar 20 17:49:27 2014 -0700
@@ -273,7 +273,7 @@
 }
 
 address Method::bcp_from(int bci) const {
-  assert((is_native() && bci == 0)  || (!is_native() && 0 <= bci && bci < code_size()), "illegal bci");
+  assert((is_native() && bci == 0)  || (!is_native() && 0 <= bci && bci < code_size()), err_msg("illegal bci: %d", bci));
   address bcp = code_base() + bci;
   assert(is_native() && bcp == code_base() || contains(bcp), "bcp doesn't belong to this method");
   return bcp;