"this" reference
Archie Cobbs
archie at whistle.com
Fri Oct 2 19:25:45 PDT 1998
Harish Sankaran writes:
> Could anyone tell me where the "this" reference inside an applet class
> is stored in the kaffe JVM?
>
> Eg:-
> What I need to do is something like the following:-
> If there is method call x.method1() ,I want to compare
> whether the "x" object pointer is the same as "this" pointer inside JVM.
Not sure I understand your question.. if you have an object x
and you call x.method(), then "this" inside the code for method()
will refer to x. That is, in Java speak, "x == this".
-Archie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
More information about the kaffe
mailing list