--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java 2019-12-20 15:40:48.000000000 +0000
+++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java 2019-12-20 15:40:48.000000000 +0000
@@ -73,11 +73,11 @@
*
* For each method, exceptions are handled as follows:
*
- * - Checked exceptions are left alone and propogate upwards in the
+ *
- Checked exceptions are left alone and propagate upwards in the
* obvious way, since they are an expected aspect of the method's
* specification.
*
- Unchecked exceptions which have already been caught and wrapped in
- * ClientCodeException are left alone to continue propogating upwards.
+ * ClientCodeException are left alone to continue propagating upwards.
*
- All other unchecked exceptions (i.e. subtypes of RuntimeException
* and Error) and caught, and rethrown as a ClientCodeException with
* its cause set to the original exception.
@@ -157,7 +157,7 @@
return fo;
}
- public DiagnosticListener wrap(DiagnosticListener dl) {
+ public DiagnosticListener wrap(DiagnosticListener dl) {
if (isTrusted(dl))
return dl;
return new WrappedDiagnosticListener<>(dl);