On Thu, 6 May 2021 14:23:27 GMT, Maurizio Cimadamore <mcimadam...@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