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

Surefire incorrectly suppresses exceptions when closing resources.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.20
    • None
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tibordigana Tibor Digana
            schulte77 Christian Schulte
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment