RFR: 8308645: Javadoc of FFM API needs to be refreshed [v4]

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Jun 2 10:19:09 UTC 2023


On Thu, 1 Jun 2023 13:04:22 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix wrong link in layout well-formedness doc
>
> src/java.base/share/classes/java/lang/foreign/FunctionDescriptor.java line 57:
> 
>> 55: 
>> 56:     /**
>> 57:      * {@return the argument layouts of this function descriptor (as an immutable list)}.
> 
> I assume this should be "unmodifiable" rather than immutable here.

This was derived from MethodType::parameterList, which also mentions immutable. I'm fine changing to "unmodifiable".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14098#discussion_r1214190239


More information about the core-libs-dev mailing list