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

Kevin Rushforth kcr at openjdk.org
Thu Oct 31 23:38:30 UTC 2024


On Thu, 31 Oct 2024 23:32:50 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> https://github.com/openjdk/jfx/blob/master/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/JNIUtilityPrivate.cpp#L325-L330
>> 
>> All Java methods in `javafx.web` that are named `fwk*` are called by native WebKit code via JNI upcalls.
>
> ouch.  it would be nice to have the method commented or annotated somehow...
> thank you for clarification!

Indeed it would. Instead we just have to "know" the convention. Not very satisfying, is it!

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

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


More information about the openjfx-dev mailing list