--- 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);
}