accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Thorman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-2795) FileInputStream is not closed in CertUtils#createPublicCert()
Date Mon, 06 Apr 2015 13:55:12 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bob Thorman updated ACCUMULO-2795:
----------------------------------
    Attachment: ACCUMULO-2795.patch

ACCUMULO-2795 FileInputStream is not closed in
 CertUtils#createPublicCert()

Added local FileInputSteam members and close when the method was complete.

> FileInputStream is not closed in CertUtils#createPublicCert()
> -------------------------------------------------------------
>
>                 Key: ACCUMULO-2795
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2795
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Ted Yu
>            Assignee: Bob Thorman
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 1.7.0, 1.6.3
>
>         Attachments: ACCUMULO-2795.patch
>
>
> In createPublicCert() of test/src/test/java/org/apache/accumulo/test/util/CertUtils.java
:
> {code}
>     signerKeystore.load(new FileInputStream(rootKeystorePath), signerPasswordArray);
> {code}
> The FileInputStream is not closed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message