langtools/src/share/classes/com/sun/tools/javac/parser/JavacParser.java
changeset 13439 3025d6ac1401
parent 13077 16fb753bb5dc
child 13844 56339cf983a3
equal deleted inserted replaced
13438:83729994273a 13439:3025d6ac1401
   111         this.allowTWR = source.allowTryWithResources();
   111         this.allowTWR = source.allowTryWithResources();
   112         this.allowDiamond = source.allowDiamond();
   112         this.allowDiamond = source.allowDiamond();
   113         this.allowMulticatch = source.allowMulticatch();
   113         this.allowMulticatch = source.allowMulticatch();
   114         this.allowStringFolding = fac.options.getBoolean("allowStringFolding", true);
   114         this.allowStringFolding = fac.options.getBoolean("allowStringFolding", true);
   115         this.allowLambda = source.allowLambda() &&
   115         this.allowLambda = source.allowLambda() &&
   116                 fac.options.isSet("allowLambda");
   116                 fac.options.isSet("allowLambda"); //pre-lambda guard
   117         this.allowMethodReferences = source.allowMethodReferences() &&
   117         this.allowMethodReferences = source.allowMethodReferences() &&
   118                 fac.options.isSet("allowMethodReferences");
   118                 fac.options.isSet("allowMethodReferences"); //pre-lambda guard
   119         this.keepDocComments = keepDocComments;
   119         this.keepDocComments = keepDocComments;
   120         docComments = newDocCommentTable(keepDocComments);
   120         docComments = newDocCommentTable(keepDocComments);
   121         this.keepLineMap = keepLineMap;
   121         this.keepLineMap = keepLineMap;
   122         this.errorTree = F.Erroneous();
   122         this.errorTree = F.Erroneous();
   123         endPosTable = newEndPosTable(keepEndPositions);
   123         endPosTable = newEndPosTable(keepEndPositions);