public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "mark at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/22060] New: javax/swing/text/InternationalFormatter.clone() doesn't compile (GNU Classpath)
Date: Tue, 14 Jun 2005 10:45:00 -0000	[thread overview]
Message-ID: <20050614104518.22060.mark@gcc.gnu.org> (raw)

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


             reply	other threads:[~2005-06-14 10:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-14 10:45 mark at gcc dot gnu dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050614104518.22060.mark@gcc.gnu.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).