[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353395#comment-15353395
 ] 

Sijie Guo commented on BOOKKEEPER-871:
--------------------------------------

I think it was a Hedwig class. We removed Hedwig from 4.4.0.

> Potential resource leak with unclosed stream in SslServerContextFactory
> -----------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-871
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-871
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ted Yu
>
> In SslServerContextFactory ctor:
> {code}
>             KeyStore ks = KeyStore.getInstance("pkcs12");
>             ks.load(cfg.getCertStream(), cfg.getPassword().toCharArray());
> {code}
> The stream returned by cfg.getCertStream() is not closed.



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

Reply via email to