Test Code: public class test { class inner { } public static void main(String[] args) { System.out.println(inner.class.getSimpleName()); } }
Result with GCJ: [EMAIL PROTECTED]:/root# java test test$inner Result with Sun: [EMAIL PROTECTED]:/opt/sid/root $ sudo java test inner GCJ version 4.3-20080116-1 Sun version 1.6.0.00 -- Summary: Class.getSimpleName() differs from Sun Java Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at matthew dot ath dot cx http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35020