RFR: 8306308: (ch) Writer created by Channels::newWriter may lose data [v3]

Brian Burkhalter bpb at openjdk.org
Thu Oct 19 22:26:14 UTC 2023


On Thu, 19 Oct 2023 07:59:29 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8306308: Add some code to dispense with lock
>
> src/java.base/share/classes/sun/nio/cs/StreamEncoder.java line 1:
> 
>> 1: /*
> 
> There's a couple of null checks that can be removed now:
> https://github.com/openjdk/jdk/blob/366e42c54ef8f04f542f93b5a73a8ad41e60a322/src/java.base/share/classes/sun/nio/cs/StreamEncoder.java#L393
> https://github.com/openjdk/jdk/blob/366e42c54ef8f04f542f93b5a73a8ad41e60a322/src/java.base/share/classes/sun/nio/cs/StreamEncoder.java#L415

Removed in cbf23b9f2942a5315bc160f0f653348c0d3aeee7.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16207#discussion_r1366197623


More information about the nio-dev mailing list