On Wed, 2 Sep 2026 20:40:03 GMT, Liam Miller-Cushon <[email protected]> wrote:
> This change fixes some inaccuracies in the javadoc for methods introduced in > [JDK-8369564](https://bugs.openjdk.org/browse/JDK-8369564). > > In addition to the issues reported in > [JDK-8391678](https://bugs.openjdk.org/browse/JDK-8391678) I took a pass over > the rest of the javadoc introduced in > [JDK-8369564](https://bugs.openjdk.org/browse/JDK-8369564) and fixed a > related issue in `SegmentAllocator.allocateFrom`. > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: ff8a0a18 Author: Liam Miller-Cushon <[email protected]> URL: https://git.openjdk.org/jdk/commit/ff8a0a1870dbd04e1e1b6d5d568a093723ad5196 Stats: 12 lines in 2 files changed: 0 ins; 1 del; 11 mod 8391678: Correct encoding wording and destination bound in MemorySegment.copy(String, Charset, int, MemorySegment, long, int) 8391689: Specify selected-range encoding and allocator-neutral results for SegmentAllocator.allocateFrom(String, Charset, int, int) Reviewed-by: pminborg ------------- PR: https://git.openjdk.org/jdk/pull/32663
