RFR: 8264774: Implementation of Foreign Function and Memory API (Incubator) [v12]

Alan Bateman alanb at openjdk.java.net
Fri May 7 10:07:56 UTC 2021


On Thu, 6 May 2021 14:23:27 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> This PR contains the API and implementation changes for JEP-412 [1]. A more detailed description of such changes, to avoid repetitions during the review process, is included as a separate comment.
>> 
>> [1] - https://openjdk.java.net/jeps/412
>
> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Replace uses of -Djdk.foreign.restricted (useless now) with --enable-native-access

src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/package-info.java line 72:

> 70:  *
> 71:  * <pre>{@code
> 72: try (ResourceScope scope = ResourceScope.ofConfined()) {

The example might be out of date, I assume this should be newConfinedScope.

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

PR: https://git.openjdk.java.net/jdk/pull/3699


More information about the core-libs-dev mailing list