Integrated: 8284415: Collapse identical catch branches in security libs

Andrey Turbanov aturbanov at openjdk.java.net
Thu Apr 7 10:03:45 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`

This pull request has now been integrated.

Changeset: 8e58d4a5
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/8e58d4a58925c79fcdd2efa62cc2a6affd6326b1
Stats:     198 lines in 32 files changed: 1 ins; 124 del; 73 mod

8284415: Collapse identical catch branches in security libs

Reviewed-by: coffeys, xuelei, wetmore

-------------

PR: https://git.openjdk.java.net/jdk/pull/8068



More information about the security-dev mailing list