You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (JIRA)" <ji...@apache.org> on 2018/06/01 05:02:00 UTC
[jira] [Resolved] (GROOVY-8624) File descriptor leaks in compiler
and runtime
[ https://issues.apache.org/jira/browse/GROOVY-8624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun resolved GROOVY-8624.
--------------------------------
Resolution: Fixed
Thanks for your proposed PR, Stefan Oehme!
Fixed by [https://github.com/apache/groovy/commit/3453072a0210990c8c9563557af12de3da4bbf4a]
> File descriptor leaks in compiler and runtime
> ---------------------------------------------
>
> Key: GROOVY-8624
> URL: https://issues.apache.org/jira/browse/GROOVY-8624
> Project: Groovy
> Issue Type: Bug
> Reporter: Daniel Sun
> Assignee: Daniel Sun
> Priority: Major
> Fix For: 2.6.0-alpha-4, 3.0.0-alpha-3, 2.5.1
>
>
> The JVM keeps a cache of URL connections, which keeps the underlying files open for the lifetime of the VM unless the `setUseCaches(false)` method is used. This change makes it possible to reuse the Groovy compiler, e.g. embedded in the Gradle daemon without preventing files from being deleted on Windows.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)