--- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp Wed Oct 14 13:30:47 2015 -0400
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp Wed Oct 14 15:36:41 2015 -0700
@@ -861,7 +861,8 @@
assert(exception_kind == IMPLICIT_NULL || exception_kind == IMPLICIT_DIVIDE_BY_ZERO, "wrong implicit exception kind");
// for AbortVMOnException flag
- NOT_PRODUCT(Exceptions::debug_check_abort("java.lang.NullPointerException"));
+ Exceptions::debug_check_abort("java.lang.NullPointerException");
+
if (exception_kind == IMPLICIT_NULL) {
Events::log_exception(thread, "Implicit null exception at " INTPTR_FORMAT " to " INTPTR_FORMAT, p2i(pc), p2i(target_pc));
} else {