RFR: 8307818: Convert Indify tool to Classfile API [v16]

Oussama Louati duke at openjdk.org
Tue Jun 25 13:48:22 UTC 2024


On Tue, 25 Jun 2024 13:17:13 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> Oussama Louati has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   remove: removed unnecessary logging
>
> test/jdk/java/lang/invoke/indify/Indify.java line 386:
> 
>> 384: 
>> 385:     byte[] transformToBytes(ClassModel classModel) {
>> 386:         return of().transform(classModel, ClassTransform.ACCEPT_ALL);
> 
> What is the purpose of this transformation?

Transforming the classModel back to the bytes array in order to write the transformed classfile

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

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


More information about the core-libs-dev mailing list