[jbossws-issues] [JBoss JIRA] (JBWS-4111) Resource leak in CXFConsumerImpl

Jan Blizňák (JIRA) issues at jboss.org
Thu Apr 5 08:35:03 EDT 2018


Jan Blizňák created JBWS-4111:
---------------------------------

             Summary: 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
             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/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java#L344-L362

The fix is to use try-with-resources as jbossws-cxf already targets Java 1.8 at minimum.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbossws-issues mailing list