This PR proposes to correct an error in the documentation of `MemorySegment`, 
which was likely a copy/paste error. In order to avoid such errors in the 
future, the PR also proposes to collect the return documentation under a single 
`@return` tag rather than having duplicate text.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Fix copyright year
 - Merge branch 'master' into bug-reinterpret-arena-consumer
 - Fix reinterpret doc issue

Changes: https://git.openjdk.org/jdk/pull/32726/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32726&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8391708
  Stats: 22 lines in 1 file changed: 4 ins; 5 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/32726.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32726/head:pull/32726

PR: https://git.openjdk.org/jdk/pull/32726

Reply via email to