there is a checkError() method we should probably check before closing, that 
seems a good idea

Le samedi 16 janvier 2021, 20:49:53 CET Elliotte Rusty Harold a écrit :
> On Sat, Jan 16, 2021 at 8:31 AM Hervé BOUTEMY <herve.bout...@free.fr> wrote:
> > I see this objection more and more lately.
> > I don't really understand it, I consider it vaguely theoretical, and don't
> > see any concrete issue.
> 
> This is very much a concrete issue. I/O is unreliable. Sometimes it
> fails. When it does an IOException is thrown and the code can deal
> with whatever that means in context. However PrintWriter does not
> throw those IOExceptions. It just ignores them and continues. It
> doesn't even log an error message.





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to