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

thebohemian at gmx dot net gcc-bugzilla@gcc.gnu.org
Wed Nov 9 15:18:00 GMT 2005



------- Comment #16 from thebohemian at gmx dot net  2005-11-09 15:18 -------
Created an attachment (id=10187)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10187&action=view)
preliminary patch - just for review

This is another preview of the patch. The patch begins to more and more depend
on my verifier fixes (you can see that in the prims.cc diff). I hope I will be
able to send that in soon.

If you are using the provided test setup then with this patch you will be able
run:
invokeMethod (this one is probably not correct, as it call a constructor which
is AFAIK a static method after all)
invokeStaticMethod

accessStaticFieldOfMissingType
accessFieldOfMissingType

in BC-compiled classes mode and it behaves like the JDK.

The fixes for the field access may look a bit untidy. Well I apologize. The
linker is big machine for me and do not have a complete oversight about it. I
had to carefully adjust it at several places. If you have suggestions how to
make it more elegant please tell me so.

There is more to come and I expect the changes to get bigger. At this state I
fixed 3 (or 4) of the mentioned problems in the PR and I would like to make the
patch pretty and send it in. After that I will continue working on the
remaining issues. Objections?


-- 

thebohemian at gmx dot net changed:

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


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



More information about the Java-prs mailing list