RFR: JDK-8309595 Allow javadoc to process unnamed classes
Hannes Wallnöfer
hannesw at openjdk.org
Wed Jun 7 19:06:50 UTC 2023
On Wed, 7 Jun 2023 13:50:35 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 80:
> 78: );
> 79:
> 80: if (!result.toFile().exists()) {
`JavadocTester` has a `checkOutput(String, boolean, String...)` method that allows to check if a file exists and if it does or does not contain any number of strings. I think this should be used to make sure the file has the expected content, such as the doc comment for the main method above. Otherwise looks good.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14356#discussion_r1222043419
More information about the javadoc-dev
mailing list