RFR: 8278145: Javadoc for MemorySegment::set/MemorySegment::setAtIndex is missing throws tag

Athijegannathan Sundararajan sundar at openjdk.java.net
Thu Dec 2 12:35:38 UTC 2021


On Thu, 2 Dec 2021 12:26:33 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This patch adds missing `@throws` tags to the javadoc of `MemorySegment::set` and `MemorySegment::setAtIndex`.
> These methods can fail with `UnsupportedOperationException` if the segment is read-only.

LGTM

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

Marked as reviewed by sundar (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/6668


More information about the core-libs-dev mailing list