hotspot/src/share/vm/code/nmethod.cpp
changeset 4891 7c8755dd5bb2
parent 4754 8aef16f24e16
child 4894 8a76fd3d098d
--- a/hotspot/src/share/vm/code/nmethod.cpp	Thu Feb 04 11:16:23 2010 -0800
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Fri Feb 05 11:07:40 2010 -0800
@@ -2010,7 +2010,10 @@
     print_pcs();
   }
 #endif
-  guarantee(cont_offset != 0, "unhandled implicit exception in compiled code");
+  if (cont_offset == 0) {
+    // Let the normal error handling report the exception
+    return NULL;
+  }
   return instructions_begin() + cont_offset;
 }