If the copy of gjar from GCJ 4.3.0 is used to build GNU Classpath with the examples turned on (--enable-examples) it will fail with an error relating to gnu.classpath.tools.tnameserv.Main. This class is inside tools.zip, which is created earlier in the build by gjar.
ecj seems to refuse to pick up the class from this zip file. Uncompressing the zip file, using gcj's tools.zip or creating the zip with fastjar or current gjar from GNU Classpath cause the examples to be built correctly. Seems like a lingering gjar bug that may need to be backported. ecj is being run using gcj. -- Summary: jar produces files ecj won't handle Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gnu_andrew at member dot fsf dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35950