(fs) Files.list(path) leaks file descriptor if you don't close the stream

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • tbd
    • Affects Version/s: 8, 9, 11, 15, 16
    • Component/s: core-libs
    • None
    • 8
    • linux

      java.nio.Files.list leaks Linux file descriptors.
      Every call to list(Path) leaves around two file descriptors to the directory.

      See the attached test.

            Assignee:
            Roger Riggs
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: