[foreign-memaccess+abi] RFR: 8266626: Check that the target address of a native call is not NULL [v3]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Mon May 10 13:33:33 UTC 2021

On Mon, 10 May 2021 13:19:22 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> Yes, the indentation is deliberate.
>> I'll add the NPE as well, looks like that was missing from before.
> Actually, I think the NPE is covered by this comment on the class 
>  * <p> Unless otherwise specified, passing a {@code null} argument, or an array argument containing one or more {@code null}
>  * elements to a method in this class causes a {@link NullPointerException NullPointerException} to be thrown. </p>
>  ```

ah true


PR: https://git.openjdk.java.net/panama-foreign/pull/530

More information about the panama-dev mailing list