RFR: 8342456: Remove calls to doPrivileged in javafx.graphics/other [v2]
Kevin Rushforth
kcr at openjdk.org
Thu Oct 31 18:34:40 UTC 2024
On Thu, 31 Oct 2024 17:44:59 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> modules/javafx.graphics/src/main/java/com/sun/javafx/util/Utils.java line 684:
>>
>>> 682: public static boolean hasFullScreenStage(final Screen screen) {
>>> 683: @SuppressWarnings("removal")
>>> 684: final List<Window> allWindows = Window.getWindows();
>>
>> After this change there is an unused import of `ACCESS_WINDOW_LIST_PERMISSION` and the `SuppressWarnings` annotation is no longer needed.
>
> I would suggest to double check the unused imports and unneeded `@SuppressWarning`s after we are through with the partial changes, in a separate ticket. Eclipse can be configured to show these as warnings.
Good idea. I also plan to double-check this after the last of the follow-up fixes I do, which will likely be [JDK-8342993](https://bugs.openjdk.org/browse/JDK-8342993).
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1619#discussion_r1825003255
More information about the openjfx-dev
mailing list