[Bug java/20312] No warning on bad method

2007-01-29 Thread daney at gcc dot gnu dot org
--- 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()

[Bug java/20312] No warning on bad method

2005-07-20 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|4.1.0 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20312

[Bug java/20312] No warning on bad method

2005-04-21 Thread bothner at gcc dot gnu dot org
--- Additional Comments From bothner at gcc dot gnu dot org 2005-04-21 09:05 --- This patch can cause an ICE when the super-class is byte-compiled. If a byte-compiled method M in a super-class throws exception X, we try to emit an erroneous error message that M can't throw X (because we

[Bug java/20312] No warning on bad method

2005-03-10 Thread rmathew at gcc dot gnu dot org
--- Additional Comments From rmathew at gcc dot gnu dot org 2005-03-10 13:30 --- A patch is here: http://gcc.gnu.org/ml/java-patches/2005-q1/msg00710.html -- What|Removed |Added

[Bug java/20312] No warning on bad method

2005-03-10 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-10 18:40 --- Subject: Bug 20312 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-10 18:40:28 Modified files: gcc/java : ChangeLog parse.y Log message:

[Bug java/20312] No warning on bad method

2005-03-10 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-10 23:35 --- Fixed in 4.1.0 and above. -- What|Removed |Added Status|NEW

[Bug java/20312] No warning on bad method

2005-03-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-04 15:04 --- Confirmed, reduced self contained testcase: class t { public String toString() throws java.io.IOException {return ;} } -- What|Removed |Added