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

>> And what is the purpose of parsing a model from bytes and transforming it 
>> back to bytes without a change?
>
> This transformation is called only after the `classModel` is transformed: 
> - at line 472  and 380 when the `transformToBytes()` method is called is 
> after effectively transforming the `classModel` inside the `Logic` class.

There isn’t currently any API for converting a `ClassModel` directly to a 
`byte[]` without calling a `ClassFile​::transformClass(…)` method.

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

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

Reply via email to