T8067792.java revision 2762:46105e2a56c7
1/* 2 * @test /nodynamiccopyright/ 3 * @bug 8067792 4 * @summary Javac crashes in finder mode with nested implicit lambdas 5 * @compile/fail/ref=T8067792.out -XDrawDiagnostics -Werror -XDfind=lambda T8067792.java 6 */ 7 8import java.util.stream.*; 9import java.util.*; 10 11class T8067792 { 12 void test(Stream<List<?>> sl) { 13 Runnable r = new Runnable() { 14 public void run() { 15 Stream<List<?>> constructor = sl.filter(c -> true); 16 } 17 }; 18 } 19} 20