test/tools/javac/quid/T6999438.java

Mon, 01 Jul 2013 14:57:03 +0100

author
mcimadamore
date
Mon, 01 Jul 2013 14:57:03 +0100
changeset 1875
f559ef7568ce
parent 1042
defdd98cb7ce
child 2525
2eb010b6cb22
permissions
-rw-r--r--

7034798: Ambiguity error for abstract method call is too eager
Summary: Javac should wait and see if ambiguous methods can be reconciled at the end of an overload resolution round
Reviewed-by: jjg, vromero

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