RFR: 8284567: Collapse identical catch branches in java.base

Iris Clark iris at openjdk.java.net
Fri Apr 8 18:26:06 UTC 2022


On Sat, 2 Apr 2022 16:05:06 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

Marked as reviewed by iris (Reviewer).

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

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


More information about the nio-dev mailing list