Dynamic loading - solutions and more problems

Matt Welsh mdw@cs.berkeley.edu
Sun Apr 2 16:30:00 GMT 2000


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


More information about the Java mailing list