RFR: 8304180: Constant Descriptors for MethodHandles::classData and classDataAt

Mandy Chung mchung at openjdk.org
Thu Mar 16 19:13:07 UTC 2023


On Wed, 15 Mar 2023 02:18:37 GMT, Chen Liang <liach at openjdk.org> wrote:

> Add Constant Descriptors for DirectMethodHandleDesc of MethodHandles::classData and classDataAt in ConstantDescs. This facilitates easier access of class data via condy in Classfile API-generated bytecode. Most other constant bootstrap methods provided in the JDK, notably from `ConstantBootstraps`, already have constant descriptors in ConstantDescs.
> 
> Context: https://mail.openjdk.org/pipermail/classfile-api-dev/2023-March/000235.html

This looks good.

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

Marked as reviewed by mchung (Reviewer).

PR: https://git.openjdk.org/jdk/pull/13033


More information about the core-libs-dev mailing list