[
https://issues.apache.org/jira/browse/CXF-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joern Gebhardt updated CXF-7585:
--------------------------------
Summary: base64 attachment encoding does not close the InputSteam (was:
base64 attachment encoding does not close the inputSteam)
> base64 attachment encoding does not close the InputSteam
> --------------------------------------------------------
>
> Key: CXF-7585
> URL: https://issues.apache.org/jira/browse/CXF-7585
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.1.14, 3.2.1
> Reporter: Joern Gebhardt
>
> The {{AttachmentSerializer}} class gets in the {{writeAttachments()}} and
> {{InputStream}} from the {{DataHandler}} and calls the {{encodeBase64(..)}}
> method.
> However, it does not close the InputStream.
> Instead a try-with-resource approach should be used here
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)