gcc version 4.0.0 20041009 (experimental) try-noerror.jar and tryerror.jar have the *same files* contained within, just in a different order.
gcj -c try-noerror.jar (no error) gcj -c try-error.jar gnu/crypto/pki/provider/EncodedKeyFactory.java:0: fatal error: reading class gnu.crypto.pki.provider.EncodedKeyFactory for the second time from gnu/crypto/pki/provider/EncodedKeyFactory.class compilation terminated. gcc version 4.0.0 20040922 (experimental) does not have this problem. I will include the files. -- Summary: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ovidr at users dot sourceforge dot net CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17963