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

[TESTBUG] Remove pointless catch block in test/jdk/sun/security/util/DerValue/BadValue.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 10, 11, 12, 13, 14, 15
    • Fix Version/s: openjdk8u242
    • Component/s: security-libs
    • Labels:
      None
    • Subcomponent:
    • Introduced In Build:
      b17
    • Introduced In Version:
      10
    • Resolved In Build:
      b07
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        JDK-8183591 introduced a completely redundant catch block that we spotted in backporting it to 8u:

        + } catch (IOException ex) {
        + throw ex;
                 }

        This can be removed without altering the behaviour of the test.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  andrew Andrew Hughes
                  Reporter:
                  andrew Andrew Hughes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: