On Wed, 25 Jun 2025 20:39:50 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:
>> 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. Final version of this method is nice! ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25857#discussion_r2168108584