langtools/test/tools/javac/redefineObject/java.base/Object2.java
changeset 44203 d2d435372329
parent 44080 56713dcfe871
parent 43915 4a79ad46e578
child 44205 0c46195767fb
child 46327 91576389a517
equal deleted inserted replaced
44080:56713dcfe871 44203:d2d435372329
     1 /*
       
     2  * /nodynamiccopyright/
       
     3  * See ../Object2-test.java
       
     4  */
       
     5 
       
     6 package java.lang;
       
     7 class Object implements Cloneable {
       
     8     public final native Class getClass();
       
     9     public native int hashCode();
       
    10     public native boolean equals(Object obj);
       
    11     public 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 }