Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-387

IoUtils#safeClose Enhancement

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • 3.8.4.Final
    • api
    • None

    Description

      The current IoUtils https://github.com/xnio/xnio/blob/3.8.4.Final/api/src/main/java/org/xnio/IoUtils.java#L131-L269 already covers the broadest set of interfaces and classes which need to be closed after use. IoUtils also has the best logging concept, most util methods simply ignore exceptions.
      Some interfaces and classes from the JDK are missing:

      • javax.xml.stream.XMLStreamReader
      • javax.xml.stream.XMLStreamWriter
      • javax.xml.stream.XMLEventReader
      • javax.xml.stream.XMLEventWriter
      • javax.naming.Context
      • javax.naming.NamingEnumeration

      Only JDK8, removed in 11

      • javax.xml.soap.SOAPConnection
      • javax.xml.ws.spi.http.HttpExchange

      Attachments

        Activity

          People

            Unassigned Unassigned
            xf01213 Boris Unckel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: