https://bz.apache.org/bugzilla/show_bug.cgi?id=62330

--- Comment #13 from Jaikiran Pai <jaiki...@apache.org> ---
Hello Stefan,

> 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.

Alan's comment is meant for the JDK developers and not us (the users of the
API). He mentions it in the context of the JDK internal implementation code.

> 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.

I think we should solve it the way you mentioned in our recent Ant dev mailing
list discussion, instead of trying any workaround. The additional advantage of
going with your approach, discussed in the Ant dev mailing list, is that it
will be platform agnostic and users won't have to use platform specific null
device identifiers.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to