On Fri, 15 Nov 2024 20:41:48 GMT, Phil Race <[email protected]> wrote:

>> src/java.desktop/macosx/classes/sun/lwawt/macosx/LWCToolkit.java line 173:
>> 
>>> 171:         System.loadLibrary("awt");
>>> 172:         System.loadLibrary("fontmanager");
>>> 173:     }
>> 
>> Refactored System.loadLibrary() calls to a separate static method since they 
>> require @SuppressWarnings("restricted") annotation.
>
> I see, because static { .. } doesn't accept an annotation.

Yes, That's right.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22159#discussion_r1844501786

Reply via email to