RFR: JDK-8300914: Allow `@` as an escape in documentation comments [v2]

Pavel Rappo prappo at openjdk.org
Thu Feb 2 18:08:29 UTC 2023


On Thu, 2 Feb 2023 13:01:29 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> Jonathan Gibbons has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:
>> 
>>  - Merge with upstream/master
>>  - JDK-8301294: Allow `@` as an escape in documentation comments
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/parser/DocCommentParser.java line 231:
> 
>> 229: 
>> 230:                 case '@':
>> 231:                     if (newline) {
> 
> Here and on L250: why do you set `newline` unconditionally immediately after reading a character?

Oops, wrong "Here" line. Should be 238; so the two lines are 238 and 250.

-------------

PR: https://git.openjdk.org/jdk/pull/12372


More information about the compiler-dev mailing list