Binary compatibility for virtual fields
Jeff Sturm
jsturm@one-point.com
Sat Sep 20 04:46:00 GMT 2003
On 2003年9月20日, Bryce McKinlay wrote:
> > Bryce, you said that libgcj couldn't be built with
> > -findirect-dispatch. Do you recall what the reason was?
>> As I recall, somewhere in the runtime the vtables for java.lang.Object
> and/or java.lang.Class are referenced directly. So you'd get a link
> error for those vtable symbols which won't exist. This problem might
> have been fixed since I last checked, however.
Right. make_class_data always emits a reference to java.lang.Class's
vtable (class_dtable_decl). I noticed the same when rebuilding libgcj
with -fno-assume-compiled.
Jeff
More information about the Java
mailing list