Does that not cause a memory leak in Closeable objects? -----Original Message----- From: Nick Burch [mailto:apa...@gagravarr.org] Sent: Wednesday, June 01, 2016 6:04 PM To: POI Developers List Subject: Re: Strange behavior in XWPF
On Wed, 1 Jun 2016, Murphy, Mark wrote: > Then write to a different file: > > FileOutputStream out = new FileOutputStream(new File( > "createdocument.docx")); > document.write(out); > out.close(); > document.close(); There's an issue with close and things opened from files with X??F, I'd suggest not doing that... Nick --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org