RFR: 8342456: Remove calls to doPrivileged in javafx.graphics/other [v2]

Kevin Rushforth kcr at openjdk.org
Thu Oct 31 17:16:37 UTC 2024


On Thu, 31 Oct 2024 16:30:46 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Lukasz Kostyra has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Scene: Remove missed doPrivileged use
>
> modules/javafx.graphics/src/main/java/com/sun/javafx/util/Utils.java line 689:
> 
>> 687:                 (PrivilegedAction<List<Window>>) () -> Window.getWindows(),
>> 688:                 null,
>> 689:                 ACCESS_WINDOW_LIST_PERMISSION);
> 
> @kevinrushforth once we finish removing AccessController, do we need to remove `FXPermissions` class?

Yes, that's my plan (and is already in progress).

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1619#discussion_r1824861433


More information about the openjfx-dev mailing list