]
Jan Blizňák updated JBWS-4111:
------------------------------
Assignee: Jan Blizňák
Resource leak in CXFConsumerImpl
--------------------------------
Key: JBWS-4111
URL:
https://issues.jboss.org/browse/JBWS-4111
Project: JBoss Web Services
Issue Type: Bug
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.2.0.Final
Reporter: Jan Blizňák
Assignee: Jan Blizňák
Fix For: jbossws-cxf-5.2.1.Final
There are streams opened but not closed in CXFConsumerImpl class,
https://github.com/jbossws/jbossws-cxf/blob/master/modules/client/src/mai...
The fix is to use try-with-resources as jbossws-cxf already targets Java 1.8 at minimum.