On Thu, 1 Jun 2023 13:04:22 GMT, Alan Bateman <[email protected]> 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