RFR: 8266666: Implementation for snippets [v7]

Jonathan Gibbons jjg at openjdk.java.net
Mon Aug 23 17:44:29 UTC 2021


On Fri, 20 Aug 2021 18:46:43 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

>> Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Pass through FIXMEs and TODOs
>>   
>>   Downgrades FIXMEs that do not mark *feature issues* to TODOs, or removes those FIXMEs completely. For example, unlike Style hierarchy, Action hierarchy won't benefit from becoming sealed. So the respective FIXME is removed.
>
> test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java line 81:
> 
>> 79: 
>> 80:     public static void main(String... args) throws Exception {
>> 81:         new TestSnippetTag().runTests(m -> new Object[]{Paths.get(m.getName())});
> 
> This is just a suggestion for future convenience.
> For big tests like this, for ease of debugging, it can be useful to be able to specify the method(s) to be executed.   Maybe there should be a variants of `runTests` that takes a `String[]` or `List<String>`

I filed JDK-8272853 for us.

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

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


More information about the javadoc-dev mailing list