test/tools/javac/quid/T6999438.java

Sun, 04 Nov 2012 10:59:42 +0000

author
mcimadamore
date
Sun, 04 Nov 2012 10:59:42 +0000
changeset 1393
d7d932236fee
parent 1042
defdd98cb7ce
child 2525
2eb010b6cb22
permissions
-rw-r--r--

7192246: Add type-checking support for default methods
Summary: Add type-checking support for default methods as per Featherweight-Defender document
Reviewed-by: jjg, dlsmith

     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