diff -r 000000000000 -r 959103a6100f test/tools/javac/OverrideChecks/6199153/T6199153.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/tools/javac/OverrideChecks/6199153/T6199153.java Wed Apr 27 01:34:52 2016 +0800 @@ -0,0 +1,21 @@ +/** + * @test /nodynamiccopyright/ + * @bug 6199153 + * @summary Generic throws and overriding + * @author mcimadamore + * @compile/fail/ref=T6199153.out -Xlint -Werror -XDrawDiagnostics T6199153.java + */ + +import java.io.IOException; + +class T6199153 { + + static class A { + public void m() throws T {} + } + + static class B extends A { + public void m() throws IOException {} + } +} +