RFR: (tiny) 8071484 fix comment in DCReference

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Jul 14 17:08:59 UTC 2016


Please review this small change to an out-of-date comment in DCTree.java

diff -r 078810545cd5 
src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java
--- 
a/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java 
Thu Jul 14 16:21:39 2016 +0000
+++ 
b/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java 
Thu Jul 14 09:50:44 2016 -0700
@@ -578,7 +578,7 @@
          public final String signature;

          // The following are not directly exposed through ReferenceTree
-        // use DocTrees.getElement(TreePath,ReferenceTree)
+        // use DocTrees.getElement(DocTreePath)
          public final JCTree qualifierExpression;
          public final Name memberName;
          public final List<JCTree> paramTypes;


JBS: https://bugs.openjdk.java.net/browse/JDK-8071484

-- Jon


More information about the compiler-dev mailing list