[Bug 1197] New: ResourceManager.getApplicationResources() does not close InputStreams

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sun Oct 21 21:57:26 PDT 2012


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1197

          Priority: P3
            Bug ID: 1197
                CC: unassigned at icedtea.classpath.org
          Assignee: gnu.andrew at redhat.com
           Summary: ResourceManager.getApplicationResources() does not
                    close InputStreams
          Severity: minor
    Classification: Unclassified
                OS: Linux
          Reporter: jlivings at redhat.com
          Hardware: x86_64
            Status: NEW
           Version: 7-hg
         Component: IcedTea
           Product: IcedTea

com.sun.naming.internal.ResourceManager.getApplicationResources() does not
close the input streams it gets from helper.getResources() and
helper.getJavaHomeLibStream().

While they will eventually be garbage collected and finalised, not calling
close() means that the file descriptors are open longer than they need to,
potentially causing a descriptor limit to be reached.

-- 
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/20121022/1b7f000a/attachment.html 


More information about the distro-pkg-dev mailing list