@@ -21,11 +21,16 @@ * questions. */ /* * @test * @bug 8334252 + * @library /tools/javac/lib * @summary Test lambda declared in early construction context + * @modules jdk.compiler/com.sun.tools.javac.tree + * jdk.compiler/com.sun.tools.javac.util + * @enablePreview + * @run main LambdaOuterCapture */ public class LambdaOuterCapture { public class Inner {