[foreign-memaccess+abi] RFR: Improve exception messages and simplify LayoutPath [v8]

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Sep 22 10:53:40 UTC 2023


On Wed, 20 Sep 2023 16:42:07 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> This PR proposes to improve the exception messages in the internal `LayoutPath` class and also do some code simplifications.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Rework bredcrumbs appearance

src/java.base/share/classes/jdk/internal/foreign/LayoutPath.java line 29:

> 27: 
> 28: import jdk.internal.vm.annotation.ForceInline;
> 29: import jdk.internal.vm.annotation.Stable;

This doesn't seem used?

src/java.base/share/classes/jdk/internal/foreign/LayoutPath.java line 44:

> 42: import java.util.Arrays;
> 43: import java.util.List;
> 44: import java.util.Locale;

This also seems unused?

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

PR Review Comment: https://git.openjdk.org/panama-foreign/pull/886#discussion_r1334218795
PR Review Comment: https://git.openjdk.org/panama-foreign/pull/886#discussion_r1334219064


More information about the panama-dev mailing list