# HG changeset patch # User morris # Date 1363786369 25200 # Node ID 41340544e18299a4c9a02e8969035b1e42373636 # Parent 1275835a4cccc067ea3e451dc13ee9ebb0cd3975 8009248: [parfait] Null pointer deference in hotspot/src/share/vm/code/compiledIC.cpp Summary: add guarantee() to set_to_interpreted() Reviewed-by: kvn diff -r 1275835a4ccc -r 41340544e182 src/share/vm/code/compiledIC.cpp --- a/src/share/vm/code/compiledIC.cpp Tue Mar 19 16:31:10 2013 -0700 +++ b/src/share/vm/code/compiledIC.cpp Wed Mar 20 06:32:49 2013 -0700 @@ -552,7 +552,7 @@ 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;