--- a/hotspot/src/share/vm/opto/graphKit.cpp Wed Dec 02 13:29:00 2009 -0800
+++ b/hotspot/src/share/vm/opto/graphKit.cpp Tue Dec 08 16:27:21 2009 -0800
@@ -1714,6 +1714,11 @@
C->gvn_replace_by(callprojs.catchall_catchproj, C->top());
C->gvn_replace_by(callprojs.catchall_memproj, C->top());
C->gvn_replace_by(callprojs.catchall_ioproj, C->top());
+
+ // Replace the old exception object with top
+ if (callprojs.exobj != NULL) {
+ C->gvn_replace_by(callprojs.exobj, C->top());
+ }
} else {
GraphKit ekit(ejvms);