On Mon, 10 Jun 2024 13:45:16 GMT, Maurizio Cimadamore <mcimadam...@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