Joern Gebhardt created CXF-7585:
-----------------------------------
Summary: 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.2.1, 3.1.14
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)