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