test/tools/javac/quid/T6999438.java

Fri, 05 Jul 2013 11:04:22 +0100

author
mcimadamore
date
Fri, 05 Jul 2013 11:04:22 +0100
changeset 1890
bfbedbfc522a
parent 1042
defdd98cb7ce
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8016702: use of ternary operator in lambda expression gives incorrect results
Summary: Constant types erroneously creep in during inference
Reviewed-by: jjg, vromero

     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