RFR: 8297195: AWTAccessor and SwingAccessor should avoid double racy reads from non-volatile fields

Phil Race prr at openjdk.org
Fri Nov 18 16:44:58 UTC 2022


On Thu, 17 Nov 2022 10:19:31 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> The patch applied to SharedSecrets by https://github.com/openjdk/jdk/pull/1914 is applied to the AWTAccessor and SwingAccessor. It prevents null to be returned by the some of methods. 
> 
> See also discussion in thread: https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-December/072798.html

Marked as reviewed by prr (Reviewer).

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

PR: https://git.openjdk.org/jdk/pull/11205



More information about the client-libs-dev mailing list