Mon, 17 Oct 2011 12:54:33 +0100
7097436: Project Coin: duplicate varargs warnings on method annotated with @SafeVarargs
Summary: Duplicate aliasing check during subtyping leads to spurious varargs diagnostic
Reviewed-by: jjg
jjg@752 | 1 | /* @test /nodynamiccopyright/ |
jjg@752 | 2 | * @bug 6999438 |
jjg@752 | 3 | * @summary remove support for exotic identifiers from JDK 7 |
darcy@1042 | 4 | * @compile/fail/ref=T6999438.out -XDrawDiagnostics T6999438.java |
jjg@752 | 5 | */ |
jjg@752 | 6 | |
jjg@752 | 7 | class Test { |
jjg@752 | 8 | int #"not supported"; |
jjg@752 | 9 | } |