InputStream not closed
Opened this issue · 4 comments
Tomas-Kraus commented
The method org.jvnet.staxex.Base64Data.writeTo(XMLStreamWriter) does not close the obtained
InputStream is = dataHandler.getDataSource().getInputStream();
We provide a FileInputStream at this point and we need to know, when we may delete the underlying file from file system.
The corresponding method org.jvnet.staxex.Base64Data.writeTo(char[], int) respective the called method get() closes the stream after the job is done.
Tomas-Kraus commented
- Issue Imported From: https://github.com/javaee/metro-stax-ex/issues/1
- Original Issue Raised By:@glassfishrobot
- Original Issue Assigned To: @glassfishrobot
Tomas-Kraus commented
@glassfishrobot Commented
Reported by andreasnagel
Tomas-Kraus commented
@glassfishrobot Commented
Was assigned to snajper
Tomas-Kraus commented
@glassfishrobot Commented
This issue was imported from java.net JIRA STAX_EX-1