mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8242451: ensure semantics of non-capturing lambdas are preserved independent of execution mode
Reviewed-by: mchung
This commit is contained in:
parent
dc1ef58351
commit
1b79326c05
4 changed files with 165 additions and 57 deletions
|
@ -26,11 +26,9 @@
|
|||
* @bug 8003280
|
||||
* @summary Add lambda tests
|
||||
* Test bridge methods for certain SAM conversions
|
||||
* Tests that jdk.internal.lambda.disableEagerInitialization=true creates a
|
||||
* get$Lambda method for non-capturing lambdas
|
||||
* Test the set of generated methods
|
||||
* @compile LambdaTest6.java
|
||||
* @run main LambdaTest6
|
||||
* @run main/othervm -Djdk.internal.lambda.disableEagerInitialization=true LambdaTest6
|
||||
*/
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue