RFR [16] 8251454: Wrong "self type" in DCTree.DCEndElement
Pavel Rappo
pavel.rappo at oracle.com
Tue Aug 18 17:15:21 UTC 2020
Please review the below inline patch for https://bugs.openjdk.java.net/browse/JDK-8251454
Thanks,
-Pavel
diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java
index 5295ac38788..78b63c6c578 100644
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -326,7 +326,7 @@ public abstract class DCTree implements DocTree {
}
}
- public static class DCEndElement extends DCEndPosTree<DCStartElement> implements EndElementTree {
+ public static class DCEndElement extends DCEndPosTree<DCEndElement> implements EndElementTree {
public final Name name;
DCEndElement(Name name) {
More information about the compiler-dev
mailing list