test/tools/javac/lambda/Intersection01.java

changeset 1511
c7c41a044e7c
parent 1436
f6f1fd261f57
child 1678
c635a966ce84
     1.1 --- a/test/tools/javac/lambda/Intersection01.java	Mon Jan 21 20:13:56 2013 +0000
     1.2 +++ b/test/tools/javac/lambda/Intersection01.java	Mon Jan 21 20:14:39 2013 +0000
     1.3 @@ -25,7 +25,7 @@
     1.4   * @test
     1.5   * @bug 8002099
     1.6   * @summary Add support for intersection types in cast expression
     1.7 - * @compile/fail/ref=Intersection01.out -XDallowIntersectionTypes -XDrawDiagnostics Intersection01.java
     1.8 + * @compile/fail/ref=Intersection01.out -XDrawDiagnostics Intersection01.java
     1.9   */
    1.10  class Intersection01 {
    1.11  

mercurial