RFR: 8256865: Foreign Memory Access and Linker API are missing NPE checks [v2]
David Holmes
dholmes at openjdk.java.net
Tue Nov 24 02:27:56 UTC 2020
On Mon, 23 Nov 2020 18:10:47 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fix cut/paste error in FunctionDescriptor
>
> Already looked at this in panama-foreign, but found one minor issue.
Just an observation but there are precedents for just placing a generic statement in the package and/or class javadoc:
"Unless specified otherwise any method that is passed a null reference will throw NullPointerException"
rather than adding @throws NPE all over the place.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1388
More information about the core-libs-dev
mailing list