RFR: 8284415: Collapse identical catch branches in security libs
Andrey Turbanov
aturbanov at openjdk.java.net
Wed Apr 6 21:04:42 UTC 2022
On Fri, 1 Apr 2022 07:32:21 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> Let's take advantage of Java 7 language feature - "Catching Multiple Exception Types".
> It simplifies code. Reduces duplication.
> Found by IntelliJ IDEA inspection `Identical 'catch' branches in 'try' statement`
I think changing behavior (like adding cause) requires at least writing regression test.
I would like to not do this under this PR.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8068
More information about the security-dev
mailing list