src/share/vm/oops/method.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8026328 Cdiff src/share/vm/oops/method.cpp

src/share/vm/oops/method.cpp

Print this page

        

*** 1513,1523 **** for (; bp != NULL; bp = bp->next()) { if (bp->match(this, bci)) { return bp->orig_bytecode(); } } ! ShouldNotReachHere(); return Bytecodes::_shouldnotreachhere; } void Method::set_orig_bytecode_at(int bci, Bytecodes::Code code) { assert(code != Bytecodes::_breakpoint, "cannot patch breakpoints this way"); --- 1513,1526 ---- for (; bp != NULL; bp = bp->next()) { if (bp->match(this, bci)) { return bp->orig_bytecode(); } } ! { ! ResourceMark rm; ! fatal(err_msg("no original bytecode found in %s at bci %d", name_and_sig_as_C_string(), bci)); ! } return Bytecodes::_shouldnotreachhere; } void Method::set_orig_bytecode_at(int bci, Bytecodes::Code code) { assert(code != Bytecodes::_breakpoint, "cannot patch breakpoints this way");
src/share/vm/oops/method.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File