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

changeset 1415
01c9d4161882
parent 1409
33abf479f202
child 1433
4f9853659bf1
equal deleted inserted replaced
1414:843d3b191773 1415:01c9d4161882
119 this.allowAnnotations = source.allowAnnotations(); 119 this.allowAnnotations = source.allowAnnotations();
120 this.allowTWR = source.allowTryWithResources(); 120 this.allowTWR = source.allowTryWithResources();
121 this.allowDiamond = source.allowDiamond(); 121 this.allowDiamond = source.allowDiamond();
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 fac.options.isSet("allowLambda"); //pre-lambda guard 125 this.allowMethodReferences = source.allowMethodReferences();
126 this.allowMethodReferences = source.allowMethodReferences() && 126 this.allowDefaultMethods = source.allowDefaultMethods();
127 fac.options.isSet("allowMethodReferences"); //pre-lambda guard
128 this.allowDefaultMethods = source.allowDefaultMethods() &&
129 fac.options.isSet("allowDefaultMethods"); //pre-lambda guard
130 this.keepDocComments = keepDocComments; 127 this.keepDocComments = keepDocComments;
131 docComments = newDocCommentTable(keepDocComments, fac); 128 docComments = newDocCommentTable(keepDocComments, fac);
132 this.keepLineMap = keepLineMap; 129 this.keepLineMap = keepLineMap;
133 this.errorTree = F.Erroneous(); 130 this.errorTree = F.Erroneous();
134 endPosTable = newEndPosTable(keepEndPositions); 131 endPosTable = newEndPosTable(keepEndPositions);

mercurial