On Mon, 10 Jun 2024 15:30:39 GMT, Per Minborg <pminb...@openjdk.org> wrote:

>> This PR proposes to retain the read-only state when any of the 
>> `MemorySegment::reinterpret` methods is called.
>> 
>> Previously, the read-only state was lost and the returned `MemorySegment` 
>> was always writable regardless of the original segment's read-only state.
>
> Per Minborg has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Add read-only comment on asSegment too

Marked as reviewed by jvernee (Reviewer).

Thanks for fixing!

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

PR Review: https://git.openjdk.org/jdk/pull/19629#pullrequestreview-2108320145
PR Comment: https://git.openjdk.org/jdk/pull/19629#issuecomment-2158879695

Reply via email to