Integrated: 8278144: Javadoc for MemorySegment::set/MemorySegment::setAtIndex is missing throws tag

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Dec 3 13:26:22 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.

This pull request has now been integrated.

Changeset: 3f28a214
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/3f28a21414be32375dc0f4b12d349826bacd4810
Stats:     17 lines in 1 file changed: 17 ins; 0 del; 0 mod

8278144: Javadoc for MemorySegment::set/MemorySegment::setAtIndex is missing throws tag

Reviewed-by: sundar

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

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


More information about the core-libs-dev mailing list