On Sat, 2 Apr 2022 16:05:06 GMT, Andrey Turbanov <aturba...@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: f4edb59a
Author:    Andrey Turbanov <aturba...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/f4edb59a6e44d99ba215ee6970ffa6fb26b4798c
Stats:     106 lines in 17 files changed: 0 ins; 60 del; 46 mod

8284567: Collapse identical catch branches in java.base

Reviewed-by: darcy, iris, wetmore

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

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

Reply via email to