[foreign-memaccess+abi] Integrated: Clarify javadoc w.r.t. exceptions thrown by a memory access var handle (part two)

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Aug 21 13:33:46 UTC 2023


On Mon, 21 Aug 2023 12:35:08 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This is a follow-up on https://git.openjdk.org/panama-foreign/pull/869 which fixes two issues:
> * the rectified javadoc still did not mention possibility of `WrongThreadException`
> * `MemoryLayout::sliceHandle` needs similar clarifications (albeit some exceptions can't occur there)
> 
> To make the javadoc a bit more streamlined, I've collected all the checks in bullet lists.

This pull request has now been integrated.

Changeset: 5e2f9290
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.org/panama-foreign/commit/5e2f929067de4071b9eccaa8046c9570dbe390cf
Stats:     25 lines in 1 file changed: 12 ins; 1 del; 12 mod

Clarify javadoc w.r.t. exceptions thrown by a memory access var handle (part two)

Reviewed-by: pminborg

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

PR: https://git.openjdk.org/panama-foreign/pull/872


More information about the panama-dev mailing list