3789983e89
Reviewed-by: darcy, ihse
13 lines
332 B
Java
13 lines
332 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8168480
|
|
* @summary Speculative attribution of lambda causes NPE in Flow
|
|
* @compile/fail/ref=T8168480b.out -XDrawDiagnostics T8168480b.java
|
|
*/
|
|
|
|
import java.util.function.Supplier;
|
|
|
|
class T8168480b {
|
|
Supplier<Runnable> ssr = () -> () -> { while (true); System.err.println("Hello"); };
|
|
}
|