Class.h and Class.java both define zero-arg constructor
Tom Tromey
tromey@redhat.com
Sun Dec 16 14:34:00 GMT 2001
>> 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 :-(.
Bryce> Because Java constructors don't set the vtable at all? We do
Bryce> that in _Jv_AllocObj. So the fix is to set the vtable manually,
Bryce> but not do the "wind it back" hack?
Yeah, I forgot about that. This fix works, and I'm checking it in.
Thanks.
Tom
More information about the Java
mailing list