Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4111

Resource leak in CXFConsumerImpl

XMLWordPrintable

      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.

              jbliznak@redhat.com Jan Blizňák
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: