RFR: 8341966: Broken annotated module may lead to an exception in javac [v2]
Jan Lahoda
jlahoda at openjdk.org
Mon Oct 14 06:07:11 UTC 2024
On Mon, 14 Oct 2024 05:46:40 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Reflecting review feedback - using lambda instead of an anonymous innerclass.
>
> test/langtools/tools/javac/modules/AnnotationsOnModules.java line 755:
>
>> 753: byte[] newBytes = ClassFile.of().transformClass(cm1, new ClassTransform() {
>> 754: @Override
>> 755: public void accept(ClassBuilder builder, ClassElement element) {
>
> Is there any restriction so that you cannot use a lambda here?
No, fixed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21486#discussion_r1798794453
More information about the compiler-dev
mailing list