RFR: 4799358: BufferOutputStream.write() should immediately throw IOExcept on closed stream

Alan Bateman alanb at openjdk.org
Mon Aug 21 15:08:37 UTC 2023


On Mon, 21 Aug 2023 15:00:59 GMT, Chen Liang <liach at openjdk.org> wrote:

>> I thought of this ,but i was not 100% sure. I will create CSR first.
>
> You can convert this method, or the `closed` field, to be package-private (default access) instead.

> I thought of this ,but i was not 100% sure. I will create CSR first.

The current patch changes long standing behavior so that will be the focus of the CSR if this change goes away. I think get agreement on that part first.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15361#discussion_r1300242064


More information about the core-libs-dev mailing list