On Wed, 25 Jun 2025 18:50:11 GMT, Chen Liang <li...@openjdk.org> wrote:

>> Coleen Phillimore has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Use ClassFile API to replace the class name.
>
> test/lib/RedefineClassHelper.java line 95:
> 
>> 93:         ClassDesc newClassDesc = ClassDesc.of(newClassName);
>> 94:         byte[] newBytes = ClassFile.of().build(newClassDesc,
>> 95:             classBuilder -> {
> 
> Can replace this lambda with `classModel::forEach` method reference.

Thanks for the suggestion!  Testing now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25857#discussion_r2167589887

Reply via email to