/** * @test /nodynamiccopyright/ * @bug 7154127 8007464 * @summary Inference cleanup: remove bound check analysis from visitors in Types.java * @compile/fail/ref=T7154127.out -Xlint:-options -source 7 -XDrawDiagnostics T7154127.java * @compile T7154127.java */ class T7154127 { static class B {} static class D extends B {} static class E extends B {} static class Triple { } static , U extends B> Triple m() { return null; } void test() { Triple t = m(); } }