Fri, 28 Jan 2011 12:01:07 +0000
6910550: javac 1.5.0_17 fails with incorrect error message
Summary: multiple clashing members declared in same class should be added to the class' scope in order to avoid downstream spurious diagnostics
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 |
jjg@752 | 4 | * @compile/fail/ref=T6999438.out -XDrawDiagnostics -source 7 T6999438.java |
jjg@752 | 5 | */ |
jjg@752 | 6 | |
jjg@752 | 7 | class Test { |
jjg@752 | 8 | int #"not supported"; |
jjg@752 | 9 | } |