Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8624

File descriptor leaks in compiler and runtime

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0-alpha-4, 3.0.0-alpha-3, 2.5.1
    • Component/s: None
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              daniel_sun Daniel Sun
              Reporter:
              daniel_sun Daniel Sun
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: