Class.h and Class.java both define zero-arg constructor
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Sun Dec 16 00:23:00 GMT 2001
Tom Tromey wrote:
>However, at the same time if I turn the constructor in Class.h into a
>declaration, the vtable ends up wrong. I don't understand why :-(.
>Because Java constructors don't set the vtable at all? We do that in
_Jv_AllocObj. So the fix is to set the vtable manually, but not do the
"wind it back" hack?
regards
Bryce.
More information about the Java
mailing list