RFR: 8258897: wrong translation of capturing local classes inside nested lambdas [v3]
Guoxiong Li
github.com+13688759+lgxbslgx at openjdk.java.net
Wed Jan 27 06:38:45 UTC 2021
On Mon, 25 Jan 2021 12:15:36 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
>> Jia Yanwei has updated the pull request incrementally with three additional commits since the last revision:
>>
>> - fix 8258897: wrong translation of capturing local classes inside nested lambdas
>> - rename test case directory name
>> - revert the experimental fix in 9dec0d2
>
> test/langtools/tools/javac/lambda/8258897/CaptureVariables.java line 3:
>
>> 1: import java.util.function.Supplier;
>> 2:
>> 3: /**
>
> It would be nice to tweak the test to so that:
> -the comment with `@test` is first, and imports follow
> -`@test` is augmented with `/nodynamiccopyright/`
> -`@bug` is added
> -`@summary` is added
>
> (applies to both tests)
@lahodaj I think the tests in this case can use the copyright header instead of `/nodynamiccopyright/`. What's your opinion?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1479
More information about the compiler-dev
mailing list