RFR: 8307818: Convert Indify tool to Classfile API [v3]
Glavo
duke at openjdk.org
Mon May 20 15:34:28 UTC 2024
On Mon, 20 May 2024 13:20:17 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.
>
> Oussama Louati has updated the pull request incrementally with one additional commit since the last revision:
>
> remove: remove unnecessary ClassModel fields
test/jdk/java/lang/invoke/indify/Indify.java line 352:
> 350: }
> 351:
> 352: public void indifyJar(File f, Object dest){
Suggestion:
public void indifyJar(File f, Object dest) {
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18841#discussion_r1606931520
More information about the core-libs-dev
mailing list