Interfaces
Jason Baker
jbaker at cs.utah.edu
Mon Feb 7 13:17:39 PST 2000
Patrick Tullmann <tullmann at cs.utah.edu> writes:
> Derek L Davies wrote:
> > But JavaVM is a singleton as well and does have a 'this' pointer. I
> > guess maybe it's not really necessary in JavaVM then either, but was
> > included anyway?
>
> Its always easier to wrap a flexible interface an present it as a less
> flexible one, so I suggest going with the 'this' pointer approach. If
> it turns out that all the JVMDI code in the world is written to the
> singleton, no-this-pointer approach it should be pretty easy to wrap.
> Going the other way is much harder, I think.
>
What do you mean if it turns out? All the JVMDI code in the world IS
written the singleton, no-this-pointer way, because that is how the
spec IS defined and implemented by Sun.
Jason
More information about the kaffe
mailing list