src/hotspot/os/windows/os_windows.cpp
changeset 52462 4ad404da0088
parent 52460 f1bb77833b59
child 52571 c02aa8873ff2
--- a/src/hotspot/os/windows/os_windows.cpp	Thu Nov 08 18:10:15 2018 -0300
+++ b/src/hotspot/os/windows/os_windows.cpp	Thu Nov 08 23:31:08 2018 +0100
@@ -2492,7 +2492,7 @@
 #endif
           {
             // Null pointer exception.
-            if (!MacroAssembler::needs_explicit_null_check((intptr_t)addr)) {
+            if (MacroAssembler::uses_implicit_null_check((void*)addr)) {
               address stub = SharedRuntime::continuation_for_implicit_exception(thread, pc, SharedRuntime::IMPLICIT_NULL);
               if (stub != NULL) return Handle_Exception(exceptionInfo, stub);
             }