/* * @test /nodynamiccopyright/ * @bug 8078473 * @summary javac diamond finder crashes when used to build java.base module * @compile/ref=T8078473_2.out T8078473_2.java -XDrawDiagnostics -XDfind=diamond */ package java.util.stream; class T8078473_2 { static class C { C(T8078473_2 p) {} } { new C(this) {}; new C(this); } }