libgcj problems on panther
Bryce McKinlay
bryce@mckinlay.net.nz
Thu Nov 13 21:57:00 GMT 2003
On Nov 12, 2003, at 9:40 AM, Tom Tromey wrote:
> This is the immediate cause of the crash. `n' is garbage and
> `thread' is null.
>
> I think this happens because we're running this code before the first
> thread has been started, so there isn't a valid method chain.
Yes, I've seen similar problems. See:
http://gcc.gnu.org/ml/java/2003-11/msg00105.html
Ideally we should fix the underlying mutual-initializer-dependency
problem which caused this code to be necessary, but moving the
classloader initialization to after the main thread is attached might
be a suitable workaround.
Regards
Bryce.
More information about the Java
mailing list