RFR: 8284908: Refine diagnostic positions for DCErroneous [v2]
Pavel Rappo
prappo at openjdk.java.net
Wed Apr 20 22:35:07 UTC 2022
On Wed, 20 Apr 2022 21:45:51 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Address feedback
>
> test/langtools/tools/javac/doctree/DocCommentTester.java line 732:
>
>> 730: var n = (DCTree) node;
>> 731: out.println(simpleClassName(node) + "[" + node.getKind() + ", pos:" + n.pos +
>> 732: (n.getPreferredPosition() > n.pos ? ", prefPos:" + n.getPreferredPosition() : ""));
>
> Being paranoid, I suggest using `!=` instead of `>`
If this suggestion of yours passes tests, I will integrate it.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8264
More information about the javadoc-dev
mailing list