This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dynamic loading - solutions and more problems



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]