Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8283799

Collapse identical catch branches in jdk.hotspot.agent

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 19
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b17

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aturbanov Andrey Turbanov
              Reporter:
              aturbanov Andrey Turbanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: