[ https://issues.apache.org/jira/browse/CXF-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Kieselhorst resolved CXF-7585. ------------------------------------- Resolution: Fixed Assignee: Daniel Kulp Fix Version/s: 3.2.2 3.1.15 > 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 > Assignee: Daniel Kulp > Fix For: 3.1.15, 3.2.2 > > > 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)