[foreign-memaccess+abi] RFR: 8263459: Add better support for restricted methods [v2]
David Holmes
dholmes at openjdk.java.net
Mon Mar 22 04:51:54 UTC 2021
On Fri, 19 Mar 2021 13:38:52 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:
>> --enable-native-access command line option
>
> Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last revision:
>
> missed Method.setAccessible route.
src/hotspot/share/prims/jvm.cpp line 1108:
> 1106:
> 1107: JVM_ENTRY(void, JVM_EnableNativeAccessAllUnnamed(JNIEnv *env))
> 1108: Modules::enable_native_access_all_unnamed(CHECK);
As no exceptions can actually be thrown this could probably be a JVM_LEAF method
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/471
More information about the panama-dev
mailing list