1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/6863465/T6863465c.java Wed Apr 27 01:34:52 2016 +0800 1.3 @@ -0,0 +1,14 @@ 1.4 +/** 1.5 + * @test /nodynamiccopyright/ 1.6 + * @bug 6863465 1.7 + * @summary javac doesn't detect circular subclass dependencies via qualified names 1.8 + * @author Maurizio Cimadamore 1.9 + * @compile/fail/ref=T6863465c.out -XDrawDiagnostics T6863465c.java 1.10 + */ 1.11 + 1.12 +class T6863465c { 1.13 + static class x { static interface y {} } 1.14 + static class z extends x implements c.b {} 1.15 + static class a { static interface b { static interface d {} } } 1.16 + static class c extends a implements z.y, z.d {} 1.17 +}