src/share/classes/com/sun/tools/javac/comp/Flow.java

changeset 1415
01c9d4161882
parent 1406
2901c7b5339e
child 1442
fcf89720ae71
equal deleted inserted replaced
1414:843d3b191773 1415:01c9d4161882
270 rs = Resolve.instance(context); 270 rs = Resolve.instance(context);
271 diags = JCDiagnostic.Factory.instance(context); 271 diags = JCDiagnostic.Factory.instance(context);
272 Source source = Source.instance(context); 272 Source source = Source.instance(context);
273 allowImprovedRethrowAnalysis = source.allowImprovedRethrowAnalysis(); 273 allowImprovedRethrowAnalysis = source.allowImprovedRethrowAnalysis();
274 allowImprovedCatchAnalysis = source.allowImprovedCatchAnalysis(); 274 allowImprovedCatchAnalysis = source.allowImprovedCatchAnalysis();
275 Options options = Options.instance(context); 275 allowEffectivelyFinalInInnerClasses = source.allowEffectivelyFinalInInnerClasses();
276 allowEffectivelyFinalInInnerClasses = source.allowEffectivelyFinalInInnerClasses() &&
277 options.isSet("allowEffectivelyFinalInInnerClasses"); //pre-lambda guard
278 } 276 }
279 277
280 /** 278 /**
281 * Base visitor class for all visitors implementing dataflow analysis logic. 279 * Base visitor class for all visitors implementing dataflow analysis logic.
282 * This class define the shared logic for handling jumps (break/continue statements). 280 * This class define the shared logic for handling jumps (break/continue statements).

mercurial