RFR: 8333884: MemorySegment::reinterpret removes read-only property [v2]

Per Minborg pminborg at openjdk.org
Mon Jun 10 15:17:12 UTC 2024


On Mon, 10 Jun 2024 13:45:16 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> Note that `asSlice` methods also lacks a similar guarantee on read-only (but the impl works fine there)

Even though not mentioned in the original issue, we could add documentation for this here as well. Or maybe via https://bugs.openjdk.org/browse/JDK-8333886 ?

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

PR Comment: https://git.openjdk.org/jdk/pull/19629#issuecomment-2158628430


More information about the core-libs-dev mailing list