-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
8
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
GZIPInputStream doesn't call end(). Since the class injects an inflater object. Per the Inflater class the end() method won't be called on close(). Previously it was called in finalize(), but since then finalize has been removed as it was not a good solution. After this removal of finalize() there is comment in the Inflater/InflaterInputStream class stating subclasses should explicitly call end() method on close, when injecting inflater object to the constructor. GZIPInputStream still fails to do this in the OpenJDK and JDK 1.8
FREQUENCY : always
GZIPInputStream doesn't call end(). Since the class injects an inflater object. Per the Inflater class the end() method won't be called on close(). Previously it was called in finalize(), but since then finalize has been removed as it was not a good solution. After this removal of finalize() there is comment in the Inflater/InflaterInputStream class stating subclasses should explicitly call end() method on close, when injecting inflater object to the constructor. GZIPInputStream still fails to do this in the OpenJDK and JDK 1.8
FREQUENCY : always