[foreign-memaccess] RFR: 8241011: Internal access modes should be filtered

Jorn Vernee jvernee at openjdk.java.net
Fri Mar 13 16:55:45 UTC 2020


On Fri, 13 Mar 2020 15:00:35 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This patch fixes some of the issues introduced by JDK-8240874; since MemorySegmentImpl is using some internal flags, we
> should filter out internal flags when user queries for access modes. Moreover, we should detect situations where the
> user is trying to set or set access modes which fall outside the supported mask.  Few tests have been added to catch
> these situations.

LGTM

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

Marked as reviewed by jvernee (Committer).

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


More information about the panama-dev mailing list