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

Gilles Duboscq gdub at openjdk.java.net
Fri Sep 11 15:07:24 UTC 2020


On Thu, 10 Sep 2020 16:34:02 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> Gilles Duboscq has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove disableEagerInitialization concerns from BridgeMethod.java
>
> test/langtools/tools/javac/lambda/lambdaExpression/LambdaTest6.java line 33:
> 
>> 31:  * @compile LambdaTest6.java
>> 32:  * @run main LambdaTest6
>> 33:  */
> 
> This line was added by JDK-8232806 (https://hg.openjdk.java.net/jdk/jdk/rev/27c2d2a4b695).
> I assume you want to move the test case for JDK-8232806 to test/jdk/java/lang/invoke?  If so,
> BridgeMethod.java should be looked at too.

I have removed all the `disableEagerInitialization` tests from `BridgeMethod.java`. It is now restored to its
pre-JDK-8232806 state.

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

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


More information about the compiler-dev mailing list