java-topology/test/langtools/tools/javac/redefineObject/java.base/java/lang/Object2.java
russell@unturf.com 0a580b313d undefect. CWE-407 — 63 sites patched across 27 ecosystems
Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com

Patches, unit tests, benchmarks, whitepaper, and outreach briefs.
Public domain — no copyright claimed. Use freely.
2026-03-26 17:11:57 -04:00

19 lines
706 B
Java

/*
* /nodynamiccopyright/
* See ../Object2-test.java
*/
package java.lang;
class Object implements Cloneable {
public final native Class getClass();
public native int hashCode();
public native boolean equals(Object obj);
public 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 { }
}