[Bug 2786] IllegalStateException zip file closed when accessing Jar file over HTTP

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Fri Jan 15 14:08:59 UTC 2016


--- Comment #2 from Neon <trineo at gmail.com> ---
adding the try catch around the JarFile.close() is not the fix.

The problem after the first call, e.g. on 2nd call to

I believe the problem might be that URL.openConnection() or
JarURLConnection.getJarFile() is caching the previous resource (which got
closed after the first run).

We can work around that by NOT calling JarFile.close(), but that causes a
resource leak.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20160115/bbaae670/attachment.html>

More information about the distro-pkg-dev mailing list