[
https://issues.apache.org/jira/browse/SLIDER-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
thomas liu updated SLIDER-374:
------------------------------
Attachment: slider374.patch
Good catch. I was thinking of enclosing them with finally after building it
then forgot myself |o|
Please find the new patch in the attachment.
Thanks
> Potential resource leak in accumulo/CertUtil.java due to unclosed streams
> -------------------------------------------------------------------------
>
> Key: SLIDER-374
> URL: https://issues.apache.org/jira/browse/SLIDER-374
> Project: Slider
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: thomas liu
> Priority: Minor
> Attachments: aslider374-patch, slider374.patch
>
>
> In
> app-packages/accumulo/src/test/java/org/apache/slider/funtest/accumulo/CertUtil.java
> :
> {code}
> signerKeystore.load(new FileInputStream(rootKeystorePath),
> signerPasswordArray);
> {code}
> The load() call doesn't close the passed in stream.
> The caller should close it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)