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