-
Bug
-
Resolution: Fixed
-
P4
-
17, 20
-
b08
There are a number of places where the internal implementation
indirectly uses directory streams but neglects to explicitly close them.
It is recommended to always close directory streams to ensure that any
resources held for the open directory are freed.
The usage of directory streams (not closed) is through the following
calls: Files::list, Files::walk, and Files::find. Specifically a number
of unclosed calls are in DefaultImageBuilder, JmodTask, and DirArchive.
indirectly uses directory streams but neglects to explicitly close them.
It is recommended to always close directory streams to ensure that any
resources held for the open directory are freed.
The usage of directory streams (not closed) is through the following
calls: Files::list, Files::walk, and Files::find. Specifically a number
of unclosed calls are in DefaultImageBuilder, JmodTask, and DirArchive.
- relates to
-
JDK-8290316 Ensure that all directory streams are closed in java.base
-
- Resolved
-