test/tools/javac/lambda/TargetType36.java

changeset 1894
87a951c88a33
parent 1721
abd153854f16
child 2525
2eb010b6cb22
     1.1 --- a/test/tools/javac/lambda/TargetType36.java	Tue Jul 09 14:54:20 2013 -0700
     1.2 +++ b/test/tools/javac/lambda/TargetType36.java	Thu Jul 11 15:37:02 2013 +0100
     1.3 @@ -23,11 +23,10 @@
     1.4  
     1.5  /*
     1.6   * @test
     1.7 - * @ignore 8013404: Test awaits spec clarification
     1.8 - * @bug 8003280
     1.9 + * @bug 8003280 8013404
    1.10   * @summary Add lambda tests
    1.11 - *  check that target type of cast is propagated to conditional subexpressions
    1.12 - * @compile TargetType36.java
    1.13 + *  check that target type of cast is not propagated to conditional subexpressions
    1.14 + * @compile/fail/ref=TargetType36.out -XDrawDiagnostics TargetType36.java
    1.15   */
    1.16  class TargetType36 { //awaits spec wording on cast vs. poly
    1.17  

mercurial