On Fri, 8 Apr 2022 12:19:03 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: 249d54f9
Author:    Andrey Turbanov <aturba...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/249d54f93da8dae0cd24c53dfca751a8627aaf1f
Stats:     172 lines in 10 files changed: 2 ins; 115 del; 55 mod

8284673: Collapse identical catch branches in java.management

Reviewed-by: cjplummer, dholmes

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

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

Reply via email to