I believe and read in many post that on Java one can call the close method without a previous flush call on any JDK descendant of OutputStream. Actually I always overwrite (when I need it, it was rare) close calling a flush before the final close. I would like to see some official documentation that states clearly that one can safely call close without flush.
Where is some documentation saying this?