jdk-24/test/langtools/tools/javac/redefineObject/java.base/java/lang/Object1.java
2017-09-12 19:03:39 +02:00

20 lines
706 B
Java

/*
* /nodynamiccopyright/
* See ../Object1-test.java
*/
package java.lang;
class Object extends Throwable {
public final native Class getClass();
public native int hashCode();
public native boolean equals(Object obj);
protected native Object clone() throws CloneNotSupportedException;
public native String toString();
public final native void notify();
public final native void notifyAll();
public final native void wait(long timeout) throws InterruptedException;
public native final void wait(long timeout, int nanos) throws InterruptedException;
public native final void wait() throws InterruptedException;
protected void finalize() throws Throwable { }
}