RFR: 8156484: ZipFile retains too much native memory from caching Inflaters

Martin Buchholz martinrb at google.com
Thu May 19 22:04:04 UTC 2016


Hi Peter,

I would make e.g. the change to Resource an independent change.

Below you declare that you throw IOException, but you actually swallow
it, which is not good.

     /**
+     * Closes cached input stream used for getBytes / getByteBuffer
+     * @throws IOException
+     */
+    @Override
+    public synchronized void close() {



More information about the core-libs-dev mailing list