Thu, 27 Aug 2009 11:08:27 -0700
6875336: some tests should use /nodynamiccopyright/
Reviewed-by: darcy
mcimadamore@236 | 1 | /* |
jjg@384 | 2 | * @test /nodynamiccopyright/ |
mcimadamore@236 | 3 | * @bug 6804733 |
mcimadamore@236 | 4 | * @summary javac generates spourious diagnostics for ill-formed type-variable bounds |
mcimadamore@236 | 5 | * @author mcimadamore |
mcimadamore@236 | 6 | * @compile/fail/ref=T6804733.out -XDrawDiagnostics T6804733.java |
mcimadamore@236 | 7 | */ |
mcimadamore@236 | 8 | |
mcimadamore@236 | 9 | import java.util.ArrayList; |
mcimadamore@236 | 10 | class T6804733<S> extends ArrayList<S> { |
mcimadamore@236 | 11 | <T extends S & S> void m() {} |
mcimadamore@236 | 12 | } |