8219597: (bf) Heap buffer state changes could provoke unexpected exceptions
roger.riggs at oracle.com
Wed Feb 27 20:10:03 UTC 2019
The changes look fine.
Alan's comments not withstanding, I'd be inclined to close it as WNF
because it does not improve the concurrency situation and may further
hide cases where the caller should be doing synchronization. With this
change will be harder to observe that something is going wrong.
On 2/27/19 2:36 PM, Brian Burkhalter wrote:
> This issue  was instigated by this comment . The change  hopefully reduces the exposure of heap buffers to changes in the buffer state, notably the position (cursor).
>  https://bugs.openjdk.java.net/browse/JDK-8219597
>  http://mail.openjdk.java.net/pipermail/nio-dev/2019-February/005900.html
>  http://cr.openjdk.java.net/~bpb/8219597/webrev.00/
More information about the nio-dev