[rfc][icedtea-web] Ensure JarFile handles do not leak, introduce closeSilently utility

Adam Domurad adomurad at redhat.com
Tue Feb 12 13:55:57 PST 2013


This squelches some Eclipse warnings.

> 2013-XX-XX  Adam Domurad <adomurad at redhat.com>
>
>     Ensure JarFile handles do not leak.
>     * netx/net/sourceforge/jnlp/util/StreamUtils.java:
>     New, introduces 'closeSilently'. Ignores nulls & exceptions when
>     closing.
>     * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
>     Ensure StreamUtils.closeSilently or close is called for each
>     JarFile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: closeJarFiles.patch
Type: text/x-patch
Size: 4963 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130212/a8f5a047/closeJarFiles.patch 


More information about the distro-pkg-dev mailing list