You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christoph Läubrich (Jira)" <ji...@apache.org> on 2022/10/11 04:52:00 UTC

[jira] [Commented] (SUREFIRE-2094) Leaked file descriptors

    [ https://issues.apache.org/jira/browse/SUREFIRE-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615460#comment-17615460 ] 

Christoph Läubrich commented on SUREFIRE-2094:
----------------------------------------------

Is this maybe fixed with commit d51e7c958a4f93876fafd23d12db0e1c686ec10a ?

> 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)