[foreign-preview] Integrated: 8282210: Relax policy for restricted method invocation

Julia Boes jboes at openjdk.java.net
Fri Feb 25 08:26:34 UTC 2022


On Thu, 24 Feb 2022 11:13:57 GMT, Julia Boes <jboes at openjdk.org> wrote:

> This change adapts the policy for restricted method invocation, which is controlled via the --enable-native-access flag. 
> 
> As a transitional mode, access to restricted methods is allowed when the flag is not specified, with a runtime warning being omitted on first invocation. This mode supports applications and use cases where the flag cannot easily be specified.
> 
> The behaviour for when the flag is specified remains unchanged.

This pull request has now been integrated.

Changeset: 9247f980
Author:    Julia Boes <jboes at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/9247f9808dba0fdc23d300e6340a5c06ba3aa9ff
Stats:     653 lines in 16 files changed: 351 ins; 246 del; 56 mod

8282210: Relax policy for restricted method invocation

Reviewed-by: jvernee, chegar, sundar

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

PR: https://git.openjdk.java.net/panama-foreign/pull/655


More information about the panama-dev mailing list