Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.