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

Leaked file descriptors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Issue https://issues.apache.org/jira/browse/SUREFIRE-1845 with changeĀ https://github.com/apache/maven-surefire/commit/32bd56b4ea908147592ef92c71c4e7936e070993#diff-c634b539151b4b76bde50d93d5a6cd2b0f51aa411281398cc295cc721bdfa1d5 removedĀ 

      utf8RecodingDeferredFileOutputStream.close();

      from StatelessXmlReporter.java. That change seems reasonable, since that exact stream is still used 2 lines deeper. However, this seems to cause leaked file descriptors, one per test, see https://github.com/eclipse/tycho/issues/965

      Might it be useful to NOT remove the close() call, but just to move it down some lines instead?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bananeweizen Michael Keppler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: