RFR: 8309595: Allow javadoc to process unnamed classes

Jonathan Gibbons jjg at openjdk.org
Thu Jun 8 18:40:40 UTC 2023


On Thu, 8 Jun 2023 17:56:29 GMT, Jim Laskey <jlaskey 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`.

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

PR Review Comment: https://git.openjdk.org/jdk21/pull/1#discussion_r1223418387


More information about the javadoc-dev mailing list