diff --git a/src/share/vm/code/compiledIC.cpp b/src/share/vm/code/compiledIC.cpp index 7677dae57c55439daa3b6971e219cb5846a9a900..85eeda470568a0557e2b4a1775713f700222aa08 100644 --- a/src/share/vm/code/compiledIC.cpp +++ b/src/share/vm/code/compiledIC.cpp @@ -552,7 +552,7 @@ bool CompiledStaticCall::is_call_to_interpreted() const { void CompiledStaticCall::set_to_interpreted(methodHandle callee, address entry) { address stub=find_stub(); - assert(stub!=NULL, "stub not found"); + guarantee(stub != NULL, "stub not found"); if (TraceICs) { ResourceMark rm;