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

Julia Boes jboes at openjdk.java.net
Thu Feb 24 14:03:16 UTC 2022


> 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

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

Changes:
  - all: https://git.openjdk.java.net/panama-foreign/pull/655/files
  - new: https://git.openjdk.java.net/panama-foreign/pull/655/files/70cf305a..00ebf4cb

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=655&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=655&range=00-01

  Stats: 9 lines in 1 file changed: 0 ins; 5 del; 4 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/655.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/655/head:pull/655

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


More information about the panama-dev mailing list