------- Comment #4 from thebohemian at gmx dot net 2005-11-05 14:57 ------- By further inspecting the problem I got the impression that gcj's approach of linking is flawed. As I understand it gcj does linking-on-initialization but for the java language, being built-around the idea of late binding, it would be better if gcj does the linking step when a particular entity (field, method) is used for the first time.
That could mean that we should fill in the atables with the address to a certain linkMe() function which then replaces itself if this succeeds or throws an Error (NoClassDefFoundError, NoSuchMethodError or NoSuchFieldError). Comments? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616