This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: HashSet.clone
Tom Tromey wrote:
> >>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
>
> Bryce> It is illegal to try and catch an exception that can never be
> Bryce> thrown from within a try block. GCJ doesn't actually detect
> Bryce> this
>
> Do we have a PR on this?
Yes:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1332&database=gcc
Although the title could probibly be generalised, since the problem
applies to all checked exceptions and not just
clone()/CloneNotSupportedException.
regards
[ bryce ]