--- old/src/jdk.compiler/share/classes/com/sun/source/util/Trees.java 2020-07-27 09:20:36.912000000 -0700 +++ new/src/jdk.compiler/share/classes/com/sun/source/util/Trees.java 2020-07-27 09:20:36.004000000 -0700 @@ -53,6 +53,11 @@ */ public abstract class Trees { /** + * Constructor for subclasses to call. + */ + public Trees() {} + + /** * Returns a Trees object for a given CompilationTask. * @param task the compilation task for which to get the Trees object * @throws IllegalArgumentException if the task does not support the Trees API.