[OpenJDK 2D-Dev] 8187898: PrintStream should override FilterOutputStream#write(byte[]) with a method that has no throws clause

Brian Burkhalter brian.burkhalter at oracle.com
Mon Jul 15 16:00:45 UTC 2019


Hello,

> On Jul 13, 2019, at 12:00 PM, Tagir Valeev <amaembo at gmail.com> wrote:
> 
> And whilst great you are fixing up this code, we are but a small fraction of the world's code
> that use java.io <http://java.io/> and I wonder if this is worth the compatibility risk ?
> 
> Why not introducing a separate writeBytes method like it was done for ByteArrayOutputStream (JDK-8199713)?

Actually that seems like a better idea: accomplishes the objective while not introducing a compatibility issue. Note: JDK 8199713 reference above is the CSR of the actual issue [1].

Thanks,

[1] https://bugs.openjdk.java.net/browse/JDK-8180410
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/2d-dev/attachments/20190715/db69f743/attachment.html>


More information about the 2d-dev mailing list