RFR: 8306698: Add overloads to MethodTypeDesc::of [v2]

Chen Liang liach at openjdk.org
Tue May 23 19:45:56 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

@mlchung Since you appear to be back, can you review this patch that allows future immutable-list  parameter type sharing and benefit the Classfile API for JDK 21? I would be grateful if you can review a few other java.lang.invoke improvements I submitted as well.

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

PR Comment: https://git.openjdk.org/jdk/pull/13599#issuecomment-1560027705


More information about the core-libs-dev mailing list