[ 
https://issues.apache.org/jira/browse/SUREFIRE-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Slawomir Jaranowski closed SUREFIRE-2094.
-----------------------------------------
    Resolution: Duplicate

> Leaked file descriptors
> -----------------------
>
>                 Key: SUREFIRE-2094
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2094
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Michael Keppler
>            Priority: Major
>
> Issue https://issues.apache.org/jira/browse/SUREFIRE-1845 with changeĀ 
> [https://github.com/apache/maven-surefire/commit/32bd56b4ea908147592ef92c71c4e7936e070993#diff-c634b539151b4b76bde50d93d5a6cd2b0f51aa411281398cc295cc721bdfa1d5]
>  removedĀ 
> {code:java}
> utf8RecodingDeferredFileOutputStream.close();{code}
> 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|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?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to