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

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


On Thu, 31 Oct 2024 23:22:32 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> 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.
>
> Very unlikely, but I'll take a look when fixing [JDK-8342993](https://bugs.openjdk.org/browse/JDK-8342993), since this method is on my list to be modified.

I don't see this private method being called...

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

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


More information about the openjfx-dev mailing list