file.Locations is not closing directory streams when listing modules in the exploded JDK cases

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: tools
    • None

      file.Locations.BootClassPathLocationHandler.systemClasses is doing Files.list on several placing, two of which are not closing the Stream. This can lead to the "Too many open files" problem when many file managers are created/used in one VM.

            Assignee:
            Jan Lahoda
            Reporter:
            Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: