Compilation of gnu/CORBA/DynAny/gnuDynValue to bytecode has a bug. The resulting equal() method has this in it:
61: invokespecial #193=<InterfaceMethod org.omg.DynamicAny.DynAny.equal (org.omg.DynamicAny.DynAny)boolean> However, DynAny is an interface. The corresponding source code is a call like "super.equal(other)". I believe the bug occurs when calling super.m() where m() is also declared in an implemented interface. (In this case, super.m() is also not declared in the immediate superclass, but is inherited, that may play a role.) It should be simple to make a small test case, I will do that some other time. This bug prevents us from building corba in libgcj. -- Summary: bytecode miscompilation of CORBA Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tromey at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24184