--- 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;