--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java 2019-12-20 15:41:10.000000000 +0000 +++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java 2019-12-20 15:41:10.000000000 +0000 @@ -282,7 +282,7 @@ } } - /** Create a tempory variable. + /** Create a temporary variable. * @param type The variable's type. */ LocalItem makeTemp(Type type) { @@ -1108,7 +1108,7 @@ /** Generate code for a loop. * @param loop The tree representing the loop. * @param body The loop's body. - * @param cond The loop's controling condition. + * @param cond The loop's controlling condition. * @param step "Step" statements to be inserted at end of * each iteration. * @param testFirst True if the loop test belongs before the body. @@ -1522,7 +1522,7 @@ endFinalizerGap(env); } if (hasFinalizer) { - // Create a new register segement to avoid allocating + // Create a new register segment to avoid allocating // the same variables in finalizers and other statements. code.newRegSegment();