src/share/vm/oops/method.cpp

changeset 6429
606acabe7b5c
parent 6039
bd3237e0e18d
child 6626
9428a0b94204
     1.1 --- a/src/share/vm/oops/method.cpp	Sat Mar 22 00:26:48 2014 +0400
     1.2 +++ b/src/share/vm/oops/method.cpp	Thu Mar 20 17:49:27 2014 -0700
     1.3 @@ -273,7 +273,7 @@
     1.4  }
     1.5  
     1.6  address Method::bcp_from(int bci) const {
     1.7 -  assert((is_native() && bci == 0)  || (!is_native() && 0 <= bci && bci < code_size()), "illegal bci");
     1.8 +  assert((is_native() && bci == 0)  || (!is_native() && 0 <= bci && bci < code_size()), err_msg("illegal bci: %d", bci));
     1.9    address bcp = code_base() + bci;
    1.10    assert(is_native() && bcp == code_base() || contains(bcp), "bcp doesn't belong to this method");
    1.11    return bcp;

mercurial