public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: libgcj/8823: gij doesn't handle "Marinda methods" (abstract class that implements interface but doesn't define all methods)
Date: Thu, 05 Dec 2002 15:36:00 -0000	[thread overview]
Message-ID: <20021205233600.1152.qmail@sources.redhat.com> (raw)

The following reply was made to PR libgcj/8823; it has been noted by GNATS.

From: Mark Wielaard <mark@klomp.org>
To: tromey@redhat.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libgcj/8823: gij doesn't handle "Marinda methods" (abstract
	class that implements interface but doesn't define all methods)
Date: 06 Dec 2002 00:31:10 +0100

 --=-XTxIB+L0stST87P2zMv4
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 
 Hi Tom,
 
 On Thu, 2002-12-05 at 18:49, Tom Tromey wrote:
 > >>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
 > 
 > Mark> Number:         8823
 > Mark> The following code shows the problem:
 > Mark> When compiled with "gcj -C *.java" and run with "gij C" it throws:
 > 
 > I didn't see any attached code.
 > Could you email it?
 
 Attached. It is now also in the How To Repeat section.
 
 Cheers,
 
 Mark
 
 --=-XTxIB+L0stST87P2zMv4
 Content-Disposition: inline; filename=I.java
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/x-java; name=I.java; charset=ISO-8859-15
 
 public interface I
 {
   public void m();
 }
 
 --=-XTxIB+L0stST87P2zMv4
 Content-Disposition: attachment; filename=A.java
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/x-java; name=A.java; charset=ISO-8859-15
 
 public abstract class A implements I
 {
   // But doesn't define m()
 }
 
 --=-XTxIB+L0stST87P2zMv4
 Content-Disposition: attachment; filename=C.java
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/x-java; name=C.java; charset=ISO-8859-15
 
 public class C extends A // which means it implements I
 {
   public static void main(String[] args)
   {
     // Defining c as either I or C will work.
     A c =3D new C();
     c.m();
   }
 
   public void m()
   {
     System.out.println("Hello World!");
   }
 }
 
 --=-XTxIB+L0stST87P2zMv4--
 


             reply	other threads:[~2002-12-05 23:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-05 15:36 Mark Wielaard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-08 16:06 Tom Tromey
2002-12-08 14:56 Tom Tromey
2002-12-05  9:56 Tom Tromey
2002-12-05  9:36 mark

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=20021205233600.1152.qmail@sources.redhat.com \
    --to=mark@klomp.org \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@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).