On Tue, 17 Mar 2026 21:48:14 GMT, Liam Miller-Cushon <[email protected]> wrote:
>> This change removed `CompilationUnit` parameters from `com.sun.source` APIs >> which are no longer needed to retrieve the EndPosTable. After the changes in >> [JDK-8372948](https://bugs.openjdk.org/browse/JDK-8372948), end positions >> are now stored directly on AST nodes instead of in a separate end map. > > Liam Miller-Cushon has updated the pull request incrementally with one > additional commit since the last revision: > > Fix indentation src/jdk.compiler/share/classes/com/sun/source/util/DocSourcePositions.java line 78: > 76: * > 77: * <p> > 78: * {@code getStartPosition(comment, tree) <= getStartPosition(file, > comment, subtree)} or <br> should this comment be: {@code getStartPosition(comment, tree) <= getStartPosition(comment, subtree)} or <br> removing the file parameter, using the new method? also applies to other cases below ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29994#discussion_r3001324279
