RFR: 8342911: Remove calls to doPrivileged in controls
Kevin Rushforth
kcr at openjdk.org
Tue Oct 29 23:04:13 UTC 2024
On Mon, 28 Oct 2024 15:01:47 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> Removes doPrivileged in the following module:
>
> - javafx.controls
>
> See JDK-8342441 for details.
>
> As a helpful hint for reviewers, I recommend reviewing this using the "Hide whitespace" option.
modules/javafx.controls/src/main/java/javafx/scene/control/skin/MenuBarSkin.java line 107:
> 105: static {
> 106: final Predicate<Window> findStage = (w) -> w instanceof Stage;
> 107: @SuppressWarnings("removal")
I missed this: You can remove this now-unneeded SuppressWarnings.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1615#discussion_r1821629795
More information about the openjfx-dev
mailing list