This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Dynamic loading - solutions and more problems
- To: java-discuss at sourceware dot cygnus dot com
- Subject: Re: Dynamic loading - solutions and more problems
- From: Matt Welsh <mdw at cs dot berkeley dot edu>
- Date: Sun, 02 Apr 2000 16:31:03 -0700
- Reply-To: Matt Welsh <mdw at cs dot berkeley dot edu>
Matt Welsh <mdw@CS.Berkeley.EDU> writes:
>
> This does allow 'MainProgram.so' to load, but it crashes in
> "_Jv_PrepareConstantTimeTables". Here is the error:
The crash is because 'klass->superclass' is set to 0xb, and at line 990
we see:
klass0 = klass0->superclass;
Here, 'klass' is 'MainProgram', the main program that I'm trying to run.
Since klass0 is now '0xb', trying to index its 'superclass' field is an
error. Is there some reason why MainProgram's "superclass" field is not
being initialized properly?
Matt