Reducing "exception is never thrown in body of corresponding try statement" Error to a Warning
Mike Duigou
openjdk at duigou.org
Tue Nov 5 23:29:40 UTC 2019
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
More information about the jdk-dev
mailing list