test/tools/javac/quid/T6999438.java

Thu, 28 Feb 2013 14:05:52 +0000

author
mcimadamore
date
Thu, 28 Feb 2013 14:05:52 +0000
changeset 1610
08782b8b03ce
parent 1042
defdd98cb7ce
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8008537: Missing method reference lookup error when unbound search finds a static method
Summary: Static-ness check should be applied after member reference resolution
Reviewed-by: jjg

     1 /* @test /nodynamiccopyright/
     2  * @bug 6999438
     3  * @summary remove support for exotic identifiers from JDK 7
     4  * @compile/fail/ref=T6999438.out -XDrawDiagnostics T6999438.java
     5  */
     7 class Test {
     8     int #"not supported";
     9 }

mercurial