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

Chris Hegarty chegar at openjdk.java.net
Thu Feb 24 23:20:32 UTC 2022


On Thu, 24 Feb 2022 14:03:16 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.
>
> Julia Boes has updated the pull request incrementally with one additional commit since the last revision:
> 
>   address PR comment and cleanup test

LGTM

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

Marked as reviewed by chegar (Committer).

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


More information about the panama-dev mailing list