RFR: 8309595: Allow javadoc to process unnamed classes
Kevin Rushforth
kcr at openjdk.org
Thu Jun 8 18:43:57 UTC 2023
On Thu, 8 Jun 2023 18:38:01 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> Unnamed classes are rejected by javadoc because they are synthetic.
>
> test/langtools/jdk/javadoc/doclet/unnamed/Unnamed.java line 42:
>
>> 40: import toolbox.ToolBox;
>> 41:
>> 42: public class Unnamed extends JavadocTester {
>
> As a matter of style, tests are typically in a class whose name begins `Test` in a directory whose name begins `test`.
Since this is a clean backport of a fix that went into JDK mainline, do you want it changed only in the Backport?
-------------
PR Review Comment: https://git.openjdk.org/jdk21/pull/1#discussion_r1223420789
More information about the javadoc-dev
mailing list