--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java 2019-12-20 15:41:00.000000000 +0000 +++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java 2019-12-20 15:41:00.000000000 +0000 @@ -137,7 +137,7 @@ * return statement" iff V is DA before the return statement or V is * DA at the end of any intervening finally block. Note that we * don't have to worry about the return expression because this - * concept is only used for construcrors. + * concept is only used for constructors. * *
There is no spec in the JLS for when a variable is definitely
* assigned at the end of a constructor, which is needed for final
@@ -223,7 +223,7 @@
Log.DiagnosticHandler diagHandler = null;
//we need to disable diagnostics temporarily; the problem is that if
//a lambda expression contains e.g. an unreachable statement, an error
- //message will be reported and will cause compilation to skip the flow analyis
+ //message will be reported and will cause compilation to skip the flow analysis
//step - if we suppress diagnostics, we won't stop at Attr for flow-analysis
//related errors, which will allow for more errors to be detected
if (!speculative) {
@@ -242,7 +242,7 @@
JCLambda that, TreeMaker make) {
//we need to disable diagnostics temporarily; the problem is that if
//a lambda expression contains e.g. an unreachable statement, an error
- //message will be reported and will cause compilation to skip the flow analyis
+ //message will be reported and will cause compilation to skip the flow analysis
//step - if we suppress diagnostics, we won't stop at Attr for flow-analysis
//related errors, which will allow for more errors to be detected
Log.DiagnosticHandler diagHandler = new Log.DiscardDiagnosticHandler(log);
@@ -259,7 +259,7 @@
public boolean aliveAfter(Env