[
https://issues.apache.org/jira/browse/THRIFT-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roger Meier resolved THRIFT-2293.
---------------------------------
Resolution: Fixed
Assignee: Roger Meier
committed
;-r
> TSSLTransportFactory.createSSLContext() leaves files open
> ---------------------------------------------------------
>
> Key: THRIFT-2293
> URL: https://issues.apache.org/jira/browse/THRIFT-2293
> Project: Thrift
> Issue Type: Bug
> Components: Java - Library
> Affects Versions: 0.9.1
> Environment: Windows 7, Java 7
> Reporter: Andreas Sjöholm
> Assignee: Roger Meier
> Priority: Minor
> Labels: file, leak
> Attachments: TSSLTransportFactory.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Even though my thrift server is shutdown and (perhaps?) GC'ed,
> the keystore file used is still locked by the VM.
> In TSSLTransportFactory.createSSLContext() i see
> ks.load(new FileInputStream(params.keyStore), params.keyPass.toCharArray());
> The FileInputStreams are never closed, which they should.
> Or is this done deliberately?
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)