diff --git a/src/hotspot/os/posix/os_posix.cpp b/src/hotspot/os/posix/os_posix.cpp index 8129713720d50..1a049c4eba5f5 100644 --- a/src/hotspot/os/posix/os_posix.cpp +++ b/src/hotspot/os/posix/os_posix.cpp @@ -712,7 +712,7 @@ void* os::get_default_process_handle() { void* os::dll_lookup(void* handle, const char* name) { void* ret = dlsym(handle, name); - if (ret == NULL) { + if (ret == nullptr) { const char* tmp = dlerror(); log_debug(os)("Symbol %s not found in dll: %s", name, tmp); }