test/tools/javac/cast/intersection/IntersectionTypeParserTest.java

changeset 1511
c7c41a044e7c
parent 1436
f6f1fd261f57
child 2227
998b10c43157
     1.1 --- a/test/tools/javac/cast/intersection/IntersectionTypeParserTest.java	Mon Jan 21 20:13:56 2013 +0000
     1.2 +++ b/test/tools/javac/cast/intersection/IntersectionTypeParserTest.java	Mon Jan 21 20:14:39 2013 +0000
     1.3 @@ -170,7 +170,7 @@
     1.4      void run(JavaCompiler tool, StandardJavaFileManager fm) throws Exception {
     1.5          checkCount++;
     1.6          JavacTask ct = (JavacTask)tool.getTask(null, fm, diagChecker,
     1.7 -                Arrays.asList("-XDallowIntersectionTypes"), null, Arrays.asList(source));
     1.8 +                null, null, Arrays.asList(source));
     1.9          ct.parse();
    1.10          if (diagChecker.errorFound) {
    1.11              throw new Error("Unexpected parser error for source:\n" +

mercurial