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

Sergey Bylokhov serb at openjdk.org
Sat Nov 19 04:42:50 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

This pull request has now been integrated.

Changeset: c50a9047
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c50a9047b4324b280b2b5d1fc70e18aac372a50c
Stats:     156 lines in 2 files changed: 74 ins; 6 del; 76 mod

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

Reviewed-by: azvegint, prr

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

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



More information about the client-libs-dev mailing list