From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22740 invoked by alias); 14 Jun 2005 10:45:24 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 22721 invoked by uid 48); 14 Jun 2005 10:45:22 -0000 Date: Tue, 14 Jun 2005 10:45:00 -0000 From: "mark at gcc dot gnu dot org" To: java-prs@gcc.gnu.org Message-ID: <20050614104518.22060.mark@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/22060] New: javax/swing/text/InternationalFormatter.clone() doesn't compile (GNU Classpath) X-Bugzilla-Reason: CC X-SW-Source: 2005-q2/txt/msg00744.txt.bz2 List-Id: 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