Does that not cause a memory leak in Closeable objects?

-----Original Message-----
From: Nick Burch [mailto:[email protected]] 
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: [email protected] For additional commands, 
e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to