RFR: 8342460: Remove calls to doPrivileged in javafx.web

Andy Goryachev angorya at openjdk.org
Thu Oct 31 23:25:57 UTC 2024


On Thu, 31 Oct 2024 22:51:24 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Removes `doPrivileged` calls in the javafx.web module, excluding the code in `{android,ios}`.

modules/javafx.web/src/main/java/com/sun/webkit/Utilities.java line 119:

> 117:         }
> 118: 
> 119:         return MethodHelper.invoke(method, instance, args);

I think the whole `fwkInvokeWithContext` method and associated constants can be safely removed.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1620#discussion_r1825259644


More information about the openjfx-dev mailing list