eclipse-ee4j/jaxb-stax-ex

InputStream not closed

Opened this issue · 4 comments

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.

@glassfishrobot Commented
Reported by andreasnagel

@glassfishrobot Commented
Was assigned to snajper

@glassfishrobot Commented
This issue was imported from java.net JIRA STAX_EX-1