diff --git a/src/classpath-openjdk.cpp b/src/classpath-openjdk.cpp index 8469568927..33c1dc3784 100644 --- a/src/classpath-openjdk.cpp +++ b/src/classpath-openjdk.cpp @@ -2000,7 +2000,7 @@ EXPORT(JVM_FindLibraryEntry)(void* library, const char* name) ENTER(t, Thread::ActiveState); - if (library == 0) { + if (library == RTLD_DEFAULT) { library = t->m->libraries; }