RFR: 8266857: PipedOutputStream.sink should be volatile
Liam Miller-Cushon
cushon at openjdk.java.net
Tue May 11 15:54:51 UTC 2021
On Tue, 11 May 2021 10:19:52 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> For correctness (and peace of mind)- we should probably introduce a local variable in all the places where `sink` is read more than once outside of a synchronized block
Done, thanks!
-------------
PR: https://git.openjdk.java.net/jdk/pull/3960
More information about the core-libs-dev
mailing list