test/tools/javac/T6230128.java

Tue, 13 Jan 2009 13:28:42 +0000

author
mcimadamore
date
Tue, 13 Jan 2009 13:28:42 +0000
changeset 186
09eb1acc9610
parent 1
9a66ca7c79fa
child 611
4172cfff05f0
permissions
-rw-r--r--

6723444: javac fails to substitute type variables into a constructor's throws clause
Summary: Added constructor's actual type info to NewClass AST node
Reviewed-by: jjg
Contributed-by: mark@twistedbanana.demon.co.uk

     1 /*
     2  * @test  /nodynamiccopyright/
     3  * @bug 6230128
     4  * @compile/fail/ref=T6230128.out -XDstdout -XDrawDiagnostics T6230128.java
     5  */
     6 class A1 {
     7     public void foo(Object[] args) { }
     8 }
    10 class A1a extends A1 {
    11     void foo(Object... args) { }
    12 }

mercurial