aoqi@0: /** aoqi@0: * @test /nodynamiccopyright/ aoqi@0: * @bug 6199153 aoqi@0: * @summary Generic throws and overriding aoqi@0: * @author mcimadamore aoqi@0: * @compile/fail/ref=T6199153.out -Xlint -Werror -XDrawDiagnostics T6199153.java aoqi@0: */ aoqi@0: aoqi@0: import java.io.IOException; aoqi@0: aoqi@0: class T6199153 { aoqi@0: aoqi@0: static class A { aoqi@0: public void m() throws T {} aoqi@0: } aoqi@0: aoqi@0: static class B extends A { aoqi@0: public void m() throws IOException {} aoqi@0: } aoqi@0: } aoqi@0: