AutoCloseable XMLStreamReader and XMLStreamWriter? (original) (raw)

Philippe Marschall kustos at gmx.net
Sun May 26 11:04:34 UTC 2013


Hi

It would be nice if javax.xml.stream.XMLStreamReader and javax.xml.stream.XMLStreamWriter could be made to extend java.lang.AutoCloseable so that they can be used in a try-with-resouces statement. The some does for XMLEventReader and XMLEventReader.

I'm not sure this is the right mailing list. I already sent a mail to users at sjsxp.java.net but it seems to be dead.

Cheers Philippe



More information about the core-libs-dev mailing list