[Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred

thebohemian at gmx dot net gcc-bugzilla@gcc.gnu.org
Mon Nov 7 10:34:00 GMT 2005



------- Comment #7 from thebohemian at gmx dot net  2005-11-07 10:34 -------
Created an attachment (id=10161)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10161&action=view)
preliminary patch - just for review

As andrew suggested I tried preparing a closure that is stored in the atable
and will be called when the static method of the missing class is invoked.

Unfortunately gcj crashes when entering ffi_call in link.cc:743. I assume that
this has something to do with the way I am allocating memory for the ffi
structures cif and closure.

I just learned about ffi and tried what I am doing in gcj in a tutorial app
where it works fine. Can somebody help me what and tell me what I am doing
wrong here?


-- 

thebohemian at gmx dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10153|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616



More information about the Gcc-bugs mailing list