On Wed, 7 Feb 2024 11:31:05 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Given that subclasses could set these fields lazily (however remote the case >> might be), do you think we should then not specify the >> `NullPointerException` for the read methods on these 2 classes. In which >> case I can exclude these 2 classes from this PR. > > It would be simpler to drop CheckedInputStream and CheckedOutputStream and > deal with them separately. It's unfortunate that this current effort has run > into this but that comes with touching some of the JDK 1.0/1.1 era classes. Done. I've updated the PR to undo the changes that were proposed for `CheckedOutputStream` and `CheckedInputStream`. I've also updated the CSR with the latest specification diff from this PR. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/17728#discussion_r1481410044