On Tue, 25 Jun 2024 13:45:17 GMT, Oussama Louati <d...@openjdk.org> wrote:

>> 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

And what is the purpose of parsing a model from bytes and transforming it back 
to bytes without a change?

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

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

Reply via email to