1.1 --- a/src/share/classes/com/sun/tools/javac/parser/JavacParser.java Mon Jan 21 20:13:56 2013 +0000 1.2 +++ b/src/share/classes/com/sun/tools/javac/parser/JavacParser.java Mon Jan 21 20:14:39 2013 +0000 1.3 @@ -124,9 +124,7 @@ 1.4 this.allowLambda = source.allowLambda(); 1.5 this.allowMethodReferences = source.allowMethodReferences(); 1.6 this.allowDefaultMethods = source.allowDefaultMethods(); 1.7 - this.allowIntersectionTypesInCast = 1.8 - source.allowIntersectionTypesInCast() && 1.9 - fac.options.isSet("allowIntersectionTypes"); 1.10 + this.allowIntersectionTypesInCast = source.allowIntersectionTypesInCast(); 1.11 this.keepDocComments = keepDocComments; 1.12 docComments = newDocCommentTable(keepDocComments, fac); 1.13 this.keepLineMap = keepLineMap;