On Sat, 12 Nov 2022 04:13:52 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> The native method used to access the private method in the `ICC_Profile` 
> class is replaced by the accessor.

src/java.desktop/share/classes/sun/awt/AWTAccessor.java line 891:

> 889:      */
> 890:     public static ICC_ProfileAccessor getICC_ProfileAccessor() {
> 891:         if (iccProfileAccessor == null) {

For `SharedSecrets` in java.base code was updated to use single read (to avoid 
concurrency problems) - see 
[JDK-8259021](https://bugs.openjdk.org/browse/JDK-8259021)
Shouldn't we use the same patter here?

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

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

Reply via email to