public class Object {
- public int cachedCode;
+ public int cachedCode; //first field has to be a primitive
public boolean cachedHash;
public native int nativehashCode();
public native int MonitorExit();
public String toString() {
- return String.valueOf(this);
+ return "Object"+hashCode();
}
public boolean equals(Object o) {