30 Apr
2020
30 Apr
'20
1:33 p.m.
Maurizio,
On 23 Apr 2020, at 21:33, Maurizio Cimadamore <maurizio.cimadamore@oracle.com> wrote:
Javadoc:
I’m still working my way through this update ( BTW it’s looking very good ), but an initial comment on the API. The access modes of MemorySegment are a nice addition, but while reading the API alone, I find myself wondering what access modes are held by segments returned by the static factories. Most hold all access modes but not all, e.g. read-only byte buffer. AND a mapped segment with mapping mode READ_ONLY ? Maybe it is worth specifying this? E.g something like: https://cr.openjdk.java.net/~chegar/foreign/segmentAccessModes/ -Chris.