RFR: 8284673: Collapse identical catch branches in java.management [v2]
    Andrey Turbanov 
    aturbanov at openjdk.java.net
       
    Tue Apr 12 07:46:28 UTC 2022
    
    
  
> 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
Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
  8284673: Collapse identical catch branches in java.management
  rename exc3 to exc2
-------------
Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8161/files
  - new: https://git.openjdk.java.net/jdk/pull/8161/files/2dd8a18b..b6940625
Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8161&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8161&range=00-01
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8161.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8161/head:pull/8161
PR: https://git.openjdk.java.net/jdk/pull/8161
    
    
More information about the serviceability-dev
mailing list