Thanks Tim! It's good to finally get this contribution in :-).
On 19/06/2008, Tim Ellison <[EMAIL PROTECTED]> wrote:
>
> Works for me... cool
>
> (on a windows box)
>
> C:\Harmony-federated\target\hdk\jdk\bin>javap -c java.lang.Object
>
> Compiled from "Object.java"
> public class java.lang.Object {
>
> public java.lang.Object();
> Code:
> 0: return
>
> public final Class getClass();
> Code:
> 0: aload_0
> 1: invokestatic java.lang.VMClassRegistry.getClass
> (Ljava/lang/Object;)Ljava/lang/Class;
> 4: areturn
>
> public int hashCode();
> Code:
> 0: aload_0
> 1: invokestatic java.lang.VMMemoryManager.getIdentityHashCode
> (Ljava/lang/Object;)I
> 4: ireturn
>
> public boolean equals(Object arg1);
> Code:
> 0: aload_0
> 1: aload_1
> 2: if_acmpne #7
> 5: iconst_1
> 6: ireturn
> 7: iconst_0
> 8: ireturn
>
> protected Object clone()
> throws java.lang.CloneNotSupportedException;
> Code:
> 0: aload_0
> 1: instanceof <java.lang.Cloneable>
> 4: ifne #17
> 7: new <java.lang.CloneNotSupportedException>
> 10: dup
> 11: ldc "Doesn't implement Cloneable interface!"
> <snip>
>
--
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU