RFR: JDK-8305673: Convert DocCommentParser to use enhanced switch [v3]

Jonathan Gibbons jjg at openjdk.org
Mon Apr 17 19:04:41 UTC 2023


On Mon, 17 Apr 2023 10:49:56 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

>> Jonathan Gibbons has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   revert conflicting change
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/parser/DocCommentParser.java line 596:
> 
>> 594:         textStart = -1;
>> 595: 
>> 596:         loop:
> 
> This label doesn't seem to be used, why was it added back?

It was just to try and minimize changes with downstream commits, such as PR #13431, and didn't seem important to clean up in this round.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13362#discussion_r1169164297


More information about the compiler-dev mailing list