Reducing "exception is never thrown in body of corresponding try statement" Error to a Warning
Jonathan Gibbons
jonathan.gibbons at oracle.com
Tue Nov 5 23:46:13 UTC 2019
Mike,
Given that you are proposing to change JLS[1], I think you should get
acceptance for the proposal before you embark on creating javac changsets.
-- Jon
[1]
Specifically I am proposing the
removal of the following section from JLS 11.2.3
On 11/5/19 3:29 PM, Mike Duigou wrote:
> Hello again;
>
> Hearing no specific objections to my prior suggestion
> (https://mail.openjdk.java.net/pipermail/jdk-dev/2019-October/003480.html)
> to tweak compilation of checked exceptions by reducing the "exception
> is never thrown in body of corresponding try statement" compilation
> error to a non-fatal warning I am going to proceed with creating a
> JIRA issue and proceeding with proposing a changeset to the
> compiler-dev list.
>
> I do agree with the sentiment that this change is of somewhat limited
> value. It is, I believe, useful and incrementally an improvement upon
> existing behaviour and worth pursuing in absence of grander proposals.
>
> Cheers,
>
>
> Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20191105/8d82c39a/attachment.html>
More information about the compiler-dev
mailing list