> 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: Rework docs ------------- Changes: - all: https://git.openjdk.org/jdk/pull/19629/files - new: https://git.openjdk.org/jdk/pull/19629/files/acebad9b..538eb2ed Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=19629&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19629&range=00-01 Stats: 29 lines in 1 file changed: 9 ins; 0 del; 20 mod Patch: https://git.openjdk.org/jdk/pull/19629.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/19629/head:pull/19629 PR: https://git.openjdk.org/jdk/pull/19629