RFR: 8307818: Convert Indify tool to Classfile API [v16]
ExE Boss
duke at openjdk.org
Wed Jul 24 08:01:41 UTC 2024
On Tue, 25 Jun 2024 13:54:07 GMT, Oussama Louati <duke at 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
More information about the core-libs-dev
mailing list