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

Resource leak in CXFConsumerImpl

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: