This is from https://bugzilla.redhat.com/show_bug.cgi?id=297961 The problem is that .class files can now (as of Java 1.5) contain classes whose name contains a hyphen. The mangling used to generate internal labels in gcj passes these hyphens through to the assembler rather than mangling them.
Subject: Bug 33639 Author: aph Date: Wed Oct 3 12:59:57 2007 New Revision: 128981 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128981 Log: 2007-10-03 Andrew Haley <aph@redhat.com> PR java/33639 * class.c (mangled_classname): Detect and replace illegal characters in assembly language symbols. (gen_indirect_dispatch_tables): Call mangled_classname() on the type. Modified: trunk/gcc/java/ChangeLog trunk/gcc/java/class.c
Fixed.
*** Bug 32484 has been marked as a duplicate of this bug. ***