Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1324

Surefire incorrectly suppresses exceptions when closing resources.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20
    • Component/s: None
    • Labels:
      None

      Description

      There are various places where exceptions thrown when closing resources are suppressed although they should be handled. Additionally, the PrintStream class does not throw exceptions but provides a checkError method to be used instead. This method has not been used after writing to the PrintStream.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibor17 Tibor Digana
                Reporter:
                schulte77 Christian Schulte
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: