accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-2795) FileInputStream is not closed in CertUtils#createPublicCert()
Date Thu, 09 Apr 2015 02:10:12 GMT

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

Christopher Tubbs updated ACCUMULO-2795:
----------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.6.3)
           Status: Resolved  (was: Patch Available)

Since this is already fixed in the latest code, I'm not sure this is worth bothering with
in 1.6, since CertUtils is a test class in the test package, and this is unlikely to be a
problem for the relatively short lived tests, as the JVM will release the file handles when
it exists anyway.

> 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
>         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