[Bug java/12866] New: gcj checks `throws' clause on artificial method
jsturm at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 1 02:32:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12866
Summary: gcj checks `throws' clause on artificial method
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: jsturm at gcc dot gnu dot org
ReportedBy: jsturm at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
The attached doesn't compile:
]$ gcj -C InnerExcept.java
InnerExcept.java: In class `InnerExcept':
InnerExcept.java: In method `access$1()':
InnerExcept.java:18: Exception `java.io.IOException' must be caught, or it must
be declared in the `throws' clause of `access$1'.
}
^
1 error
More information about the Gcc-bugs
mailing list