langtools/test/tools/javac/redefineObject/java.base/java/lang/Object2.java
author jjg
Tue, 07 Feb 2017 16:19:50 -0800
changeset 43754 63df19ceee61
parent 36526 langtools/test/tools/javac/redefineObject/java.base/Object2.java@3b41f1c69604
permissions -rw-r--r--
8174140: Move test files into package hierarchy Reviewed-by: darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     1
/*
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     2
 * /nodynamiccopyright/
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     3
 * See ../Object2-test.java
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     4
 */
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     5
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     6
package java.lang;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     7
class Object implements Cloneable {
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     8
    public final native Class getClass();
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     9
    public native int hashCode();
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    10
    public native boolean equals(Object obj);
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    11
    public native Object clone() throws CloneNotSupportedException;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    12
    public native String toString();
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    13
    public final native void notify();
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    14
    public final native void notifyAll();
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    15
    public final native void wait(long timeout) throws InterruptedException;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    16
    public native final void wait(long timeout, int nanos) throws InterruptedException;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    17
    public native final void wait() throws InterruptedException;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    18
    protected void finalize() throws Throwable { }
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    19
}