src/share/classes/com/sun/tools/javac/parser/JavacParser.java

changeset 1511
c7c41a044e7c
parent 1503
2d2b2be57c78
child 1513
cf84b07a82db
equal deleted inserted replaced
1510:7873d37f5b37 1511:c7c41a044e7c
122 this.allowMulticatch = source.allowMulticatch(); 122 this.allowMulticatch = source.allowMulticatch();
123 this.allowStringFolding = fac.options.getBoolean("allowStringFolding", true); 123 this.allowStringFolding = fac.options.getBoolean("allowStringFolding", true);
124 this.allowLambda = source.allowLambda(); 124 this.allowLambda = source.allowLambda();
125 this.allowMethodReferences = source.allowMethodReferences(); 125 this.allowMethodReferences = source.allowMethodReferences();
126 this.allowDefaultMethods = source.allowDefaultMethods(); 126 this.allowDefaultMethods = source.allowDefaultMethods();
127 this.allowIntersectionTypesInCast = 127 this.allowIntersectionTypesInCast = source.allowIntersectionTypesInCast();
128 source.allowIntersectionTypesInCast() &&
129 fac.options.isSet("allowIntersectionTypes");
130 this.keepDocComments = keepDocComments; 128 this.keepDocComments = keepDocComments;
131 docComments = newDocCommentTable(keepDocComments, fac); 129 docComments = newDocCommentTable(keepDocComments, fac);
132 this.keepLineMap = keepLineMap; 130 this.keepLineMap = keepLineMap;
133 this.errorTree = F.Erroneous(); 131 this.errorTree = F.Erroneous();
134 endPosTable = newEndPosTable(keepEndPositions); 132 endPosTable = newEndPosTable(keepEndPositions);

mercurial