RFR: 8242451: ensure semantics of non-capturing lambdas are preserved independent of execution mode [v2]
Gilles Duboscq
gdub at openjdk.java.net
Thu Sep 10 15:23:16 UTC 2020
On Wed, 9 Sep 2020 16:36:43 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> Gilles Duboscq has updated the pull request incrementally with three additional commits since the last revision:
>>
>> - Remove extra field test from LambdaTest6
>> - Wrap long lines
>> - Add deciated test in the jdk tests
>
> src/java.base/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java line 215:
>
>> 213: if (disableEagerInitialization) {
>> 214: try {
>> 215: return new ConstantCallSite(caller.findStaticGetter(innerClass, LAMBDA_INSTANCE_FIELD,
>> invokedType.returnType()));
>
> Nit: it'd be good to wrap this long line. There are a couple long lines in this patch.
I have wrapped some lines that were longer than the typical line in this file.
Let me know if the wrapping looks good to you.
-------------
PR: https://git.openjdk.java.net/jdk/pull/93
More information about the compiler-dev
mailing list