https://bz.apache.org/bugzilla/show_bug.cgi?id=62330
--- Comment #12 from Stefan Bodewig <bode...@apache.org> --- Great, thanks. As indicated on the mailing list I'd like to solve the underlying issue in a different way (make it possible to discard output using new attributes rather than null devices). I'm not sure we really can reasonably work around the issue if it is a JDK problem. We could check the file size and omit TRUNC_EXISTING (i.e. asking for WRITE only) for existing zero length files if I understand Alan's comment to your JDK issue correctly. -- You are receiving this mail because: You are the assignee for the bug.