-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 9, 10
-
Component/s: hotspot
-
b21
there are several occurrences where an resource is opened but not properly closed, for example sun.hotspot.tools.ctw.ClassPathJarEntry::process opens JarFile, but does not close it.
all such occurrences should be fixed by either using try-w/-resources or explicit close in finally block.
all such occurrences should be fixed by either using try-w/-resources or explicit close in finally block.