StAX.next: close method that also closes stream & truly frees all resources

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Future Project
    • Priority: P3
    • 5.0
    • Affects Version/s: 2.0
    • Component/s: xml

      currently, XMLReader.close() explicitly does not close the underlying Input Stream. there should be a method that completly cleans up the environment, including closing any open streams.
      this RFE came up do to an AppServer use case:
       - AppServer applications use the JAX-WS runtime
       - a WSDL is parsed to bring up the web service
       - the stream was left open after app was deployed
       - AppServer later tries to close all files and cannot

            Assignee:
            Joe Wang
            Reporter:
            Jeff Suttor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: