public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/22060] New: javax/swing/text/InternationalFormatter.clone() doesn't compile (GNU Classpath)
@ 2005-06-14 10:45 mark at gcc dot gnu dot org
  2005-06-14 10:48 ` [Bug java/22060] " roman at kennke dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mark at gcc dot gnu dot org @ 2005-06-14 10:45 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-06-15 22:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-14 10:45 [Bug java/22060] New: javax/swing/text/InternationalFormatter.clone() doesn't compile (GNU Classpath) mark at gcc dot gnu dot org
2005-06-14 10:48 ` [Bug java/22060] " roman at kennke dot org
2005-06-14 11:43 ` rmathew at gcc dot gnu dot org
2005-06-14 11:44 ` rmathew at gcc dot gnu dot org
2005-06-15 19:42 ` tromey at gcc dot gnu dot org
2005-06-15 20:13 ` tromey at gcc dot gnu dot org
2005-06-15 22:07 ` mckinlay at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).