While reviewing a fix for JDK-8307536, it has been pointed out that the inputStream object created in NativeLibLoader::installLibraryFromResource needs to be closed properly.
Note that, when the file already exists in the cache, the initial InputStream object is used by the DigestInputStream, and it is manually closed and reread again, so special care should be taken here.
Note that, when the file already exists in the cache, the initial InputStream object is used by the DigestInputStream, and it is manually closed and reread again, so special care should be taken here.
- relates to
-
JDK-8316276 JavaFX extracts unsigned DLL files into a user writeable location
-
- Open
-