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

File descriptor leaks in compiler and runtime

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0-alpha-4, 3.0.0-alpha-3, 2.5.1
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: