RFR: 8306698: Add overloads to MethodTypeDesc::of [v2]
Mandy Chung
mchung at openjdk.org
Tue May 23 20:08:55 UTC 2023
On Sun, 23 Apr 2023 23:44:41 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Please review this patch adding two new convenience methods that allows easier access to MethodTypeDesc instances and its associated CSR as well. This is a necessity to allow #13186 to reduce array copies in a few scenarios; the implementation of the two methods will be updated there.
>>
>> Javadoc: https://cr.openjdk.org/~liach/8306698/1/java.base/java/lang/constant/MethodTypeDesc.html
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
>
> Update method type and specification, update tests
What is the plan for https://git.openjdk.org/jdk/pull/13186? It seems that keeping `argTypes` in an array is okay. In any case, we can do the discussion in PR 13186 after this one is integrated.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13599#issuecomment-1560053685
More information about the core-libs-dev
mailing list