RFR: 8242451: ensure semantics of non-capturing lambdas are preserved independent of execution mode

Gilles Duboscq gdub at openjdk.java.net
Thu Sep 10 11:52:47 UTC 2020


On Wed, 9 Sep 2020 16:39:25 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> test/langtools/tools/javac/lambda/lambdaExpression/LambdaTest6.java line 29:
>> 
>>> 27:  * @summary Add lambda tests
>>> 28:  *   Test bridge methods for certain SAM conversions
>>> 29:  *   Test the set of generate fields
>> 
>> I would suggest to consider having the test under test/jdk/(java/lang/invoke/lambda), not under
>> test/langtools/tools/javac.
>
> It's a good suggestion as `disableEagerInitialization` support is not part of javac.

OK makes sense. I guess it's still good to clean the test comments of the old `disableEagerInitialization` references?

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

PR: https://git.openjdk.java.net/jdk/pull/93


More information about the core-libs-dev mailing list