When trying to compile javax/swing/text/InternationalFormatter.java the compiler gets confused about which super class it should use for the clone() method:
/usr/local/gcc41/bin/gcj -Wno-deprecated --encoding=UTF-8 --bootclasspath '' --classpath ..:../vm/reference:../external/w3c_dom:../external/sax:.: -C -d . @classes.standardx ../javax/swing/text/InternationalFormatter.java: In class 'javax.swing.text.InternationalFormatter': ../javax/swing/text/InternationalFormatter.java: In method 'javax.swing.text.InternationalFormatter.clone()': ../javax/swing/text/InternationalFormatter.java:339: error: Can't find method 'clone()' in type 'javax.swing.text.DefaultFormatter'. Candidates are: 'javax.swing.text.DefaultFormatter.clone()' in 'javax.swing.text.DefaultFormatter' 'javax.swing.JFormattedTextField$AbstractFormatter.clone()' in 'javax.swing.JFormattedTextField$AbstractFormatter'. return super.clone(); ^ 1 error For now we have disabled the whole clone() method in this class. -- Summary: javax/swing/text/InternationalFormatter.clone() doesn't compile (GNU Classpath) Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mark at gcc dot gnu dot org 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=22060