test/tools/javac/quid/T6999438.java

Mon, 17 Oct 2011 12:54:33 +0100

author
mcimadamore
date
Mon, 17 Oct 2011 12:54:33 +0100
changeset 1108
b5d0b8effc85
parent 1042
defdd98cb7ce
child 2525
2eb010b6cb22
permissions
-rw-r--r--

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 }

mercurial