< prev index next >

src/java.base/share/native/libjava/Object.c

Print this page

        

@@ -39,11 +39,11 @@
 
 #include "java_lang_Object.h"
 
 static JNINativeMethod methods[] = {
     {"hashCode",    "()I",                    (void *)&JVM_IHashCode},
-    {"wait",        "(J)V",                   (void *)&JVM_MonitorWait},
+    {"wait0",       "(J)V",                   (void *)&JVM_MonitorWait},
     {"notify",      "()V",                    (void *)&JVM_MonitorNotify},
     {"notifyAll",   "()V",                    (void *)&JVM_MonitorNotifyAll},
     {"clone",       "()Ljava/lang/Object;",   (void *)&JVM_Clone},
 };
 
< prev index next >