/*
* @test /nodynamiccopyright/
* @bug 6723444
*
* @summary javac fails to substitute type variables into a constructor's throws clause
* @author Mark Mahieu
* @compile/fail/ref=T6723444.out -XDrawDiagnostics T6723444.java
*
*/
public class T6723444 {
Foo() throws X {}
}
throws X {}
throws X {}
// the following 8 statements should compile without error
// the remaining statements should all raise an
// unreported exception error
}
}