RFR: JDK-8307184: Incorrect/inconsistent specification and implementation for Elements.getDocComment [v5]

Joe Darcy darcy at openjdk.org
Fri Aug 4 21:31:53 UTC 2023

On Wed, 2 Aug 2023 21:33:25 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>>   Appease jcheck.
> test/langtools/tools/javac/processing/model/util/elements/TestGetDocComments.java line 80:
>> 78:             System.out.println("Strings have different lengths");
>> 79:         }
>> 80:     }
> Not critical, but for bonus points, you could identify the first line that is different.

Do you know of an existing utility usable in the JDK that does this?
(I didn't want to write a utility like that for the purpose of this bug.)


PR Review Comment: https://git.openjdk.org/jdk/pull/15062#discussion_r1284859642

More information about the compiler-dev mailing list