RFR: 8276124: Provide snippet support for properties files [v5]

Hannes Wallnöfer hannesw at openjdk.java.net
Wed Nov 24 15:55:06 UTC 2021


On Wed, 24 Nov 2021 12:31:36 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> The initial integration (JDK-8266666) of JEP 413 did not support properties files. This commit rights that wrong.
>
> Pavel Rappo has updated the pull request incrementally with four additional commits since the last revision:
> 
>  - Use Hannes' regex
>    
>    Shortens regexes and makes them use fewer concepts (no lookahead).
>  - Implement Jon's suggestion (3)
>    
>    Cleans up.
>  - Implement Jon's suggestion (2)
>    
>    Substitutes regex for CoarseParser and its implementations.
>  - Implement Jon's suggestion (1)
>    
>    Uses named groups and positive lookahead to make both regexes uniform in respect to accessing the components of a match.

test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetMarkup.java line 373:

> 371:     }
> 372: 
> 373:     // @replace on a blank line will not do anything bad!

What is the purpose of this comment? Is this used as snippet source somewhere?

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

PR: https://git.openjdk.java.net/jdk/pull/6397


More information about the javadoc-dev mailing list