RFR: 8307615: Linker::nativeLinker should not be restricted (mainline)

Maurizio Cimadamore mcimadamore at openjdk.org
Mon May 8 11:18:25 UTC 2023


On Mon, 8 May 2023 11:10:36 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> Port of: https://git.openjdk.org/panama-foreign/pull/831

src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java line 86:

> 84:     }
> 85: 
> 86:     private final MethodHandle downcallHandle0(Class<?> callerClass, FunctionDescriptor function, Option... options) {

This method is different from the PR in the panama repo. Here I wanted to try and perform the restricted method check only once.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13863#discussion_r1187321353


More information about the core-libs-dev mailing list