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). ------------- Commit messages: - 8391678: Correct encoding wording and destination bound in MemorySegment.copy(String, Charset, int, MemorySegment, long, int) Changes: https://git.openjdk.org/jdk/pull/32663/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32663&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8391678 Stats: 13 lines in 2 files changed: 0 ins; 1 del; 12 mod Patch: https://git.openjdk.org/jdk/pull/32663.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32663/head:pull/32663 PR: https://git.openjdk.org/jdk/pull/32663
