On Mon, 14 Sep 2026 18:22:30 GMT, Andy Goryachev <[email protected]> wrote:
>> Marius Hanl has updated the pull request incrementally with three additional
>> commits since the last revision:
>>
>> - rename to GlassPlatform, improve code a bit
>> - revert back
>> - Revert "Move PlatformUtil from javafx.base to javafx.graphics"
>>
>> This reverts commit e41e8ed504b9ac54d8be7646108151f5aeff07d3.
>
> modules/javafx.graphics/src/main/java/com/sun/glass/ui/View.java line 52:
>
>> 50: /* By default accessibility is enabled for Mac 10.9 or greater
>> and Windows 7 or greater. */
>> 51: try {
>> 52: String platform = GlassPlatform.determinePlatform();
>
> This code is basically a remnant from removing `doPrivileged()`.
>
> What do you think of:
> - moving this code to `GlassPlatform`
> - removing the `Supplier ... get()` since it's not needed anymore
good idea! done.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2299#discussion_r4084477797