langtools/test/tools/javac/redefineObject/java.base/Object1.java
changeset 44227 9379643900c6
parent 44226 815831f585ee
parent 44225 81102185f6fe
child 44228 e46434c65a2b
equal deleted inserted replaced
44226:815831f585ee 44227:9379643900c6
     1 /*
       
     2  * /nodynamiccopyright/
       
     3  * See ../Object1-test.java
       
     4  */
       
     5 
       
     6 package java.lang;
       
     7 class Object extends Throwable {
       
     8     public final native Class getClass();
       
     9     public native int hashCode();
       
    10     public native boolean equals(Object obj);
       
    11     protected native Object clone() throws CloneNotSupportedException;
       
    12     public native String toString();
       
    13     public final native void notify();
       
    14     public final native void notifyAll();
       
    15     public final native void wait(long timeout) throws InterruptedException;
       
    16     public native final void wait(long timeout, int nanos) throws InterruptedException;
       
    17     public native final void wait() throws InterruptedException;
       
    18     protected void finalize() throws Throwable { }
       
    19 }