[foreign-abi] [Rev 01] RFR: 8237585: Dismantle ForeignUnsafe (foreign-abi part)

Jorn Vernee jvernee at openjdk.java.net
Tue Feb 25 17:26:44 UTC 2020


On Tue, 25 Feb 2020 15:47:33 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> The pull request has been updated with 1 additional commit.
> 
> The code moves look fine, but I'd like to consolidate everything under a single flag instead of using two. 
> 
> I'd also like to see something similar to what was done for illegal access in modules, where we can specify different behavior - e.g. permit, warn, error.
> 
> Let's just use a single flag `jdk.incubator.foreign.restrictedMethods=permit/deny/warn/debug`

Thanks for the comments.

I've uploaded another revision that incorporates the suggested changes.

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

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


More information about the panama-dev mailing list