RFR: 8307818: Convert Indify tool to Classfile API

Oussama Louati duke at openjdk.org
Mon May 20 00:09:12 UTC 2024


On Thu, 18 Apr 2024 13:53:34 GMT, Oussama Louati <duke at openjdk.org> wrote:

> An indify tool in j.l.i tests (also in vmTestBase) convert some source-code private static methods with MT_ MH_, and INDY_ prefixes into MethodHandle, MethodType, and CallSite constants.
> It currently uses ad-hoc code to process class files and intends to migrate to ASM; but since we have the Classfile API, we can migrate to Classfile API instead.

test/jdk/java/lang/invoke/indify/Indify.java line 715:

> 713:             }
> 714:         }
> 715:         //New implementation using the CP API

This is a similar implementation of the old methods using the ClassFile API. will be merged once fully tested and implemented

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18841#discussion_r1600735259


More information about the core-libs-dev mailing list