Integrated: JDK-8305673: Convert DocCommentParser to use enhanced switch

Jonathan Gibbons jjg at
Mon Apr 17 19:07:49 UTC 2023

On Wed, 5 Apr 2023 20:56:00 GMT, Jonathan Gibbons <jjg at> wrote:

> Please review more cleanup for DocCommentParser, primarily focused on using enhanced switch statements and expressions.
> The first commit is mostly IDE-automated.
> The second commit is manual.
> All change are "local".  There are two remaining switch statements using the old form that have non-trivial fall-through code, which could/should be moved out into separate methods.

This pull request has now been integrated.

Changeset: 525a91e3
Author:    Jonathan Gibbons <jjg at>
Stats:     128 lines in 1 file changed: 14 ins; 36 del; 78 mod

8305673: Convert DocCommentParser to use enhanced switch

Reviewed-by: hannesw



More information about the compiler-dev mailing list