public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "daney at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/20312] No warning on bad method Date: Tue, 30 Jan 2007 01:53:00 -0000 [thread overview] Message-ID: <20070130015346.7249.qmail@sourceware.org> (raw) In-Reply-To: <bug-20312-10209@http.gcc.gnu.org/bugzilla/> ------- Comment #7 from daney at gcc dot gnu dot org 2007-01-30 01:53 ------- In 4.3.0 this is correctly flagged as an error. With the testcase in comment #1 we get: $ gcj -o t --main=t t.java t.java:3: error: Exception IOException is not compatible with throws clause in Object.toString() public String toString() throws java.io.IOException ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 problem (1 error) -- daney at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Known to work| |4.3.0 Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20312
next parent reply other threads:[~2007-01-30 1:53 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-20312-10209@http.gcc.gnu.org/bugzilla/> 2007-01-30 1:53 ` daney at gcc dot gnu dot org [this message] 2005-03-04 15:33 [Bug java/20312] New: " davidw at dedasys dot com 2005-03-05 16:33 ` [Bug java/20312] " pinskia at gcc dot gnu dot org 2005-03-11 7:29 ` rmathew at gcc dot gnu dot org 2005-03-11 9:16 ` cvs-commit at gcc dot gnu dot org 2005-03-12 5:36 ` pinskia at gcc dot gnu dot org 2005-04-21 9:05 ` bothner at gcc dot gnu dot org 2005-07-21 0:28 ` pinskia at gcc dot gnu dot org
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=20070130015346.7249.qmail@sourceware.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: linkBe 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).