[jdk19] RFR: JDK-8288058: Broken links on constant-values page
Pavel Rappo
prappo at openjdk.org
Tue Jun 28 09:16:45 UTC 2022
On Mon, 27 Jun 2022 17:27:18 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> test/langtools/jdk/javadoc/doclet/testConstantValuesPage/TestConstantValuesPage.java line 93:
>>
>>> 91: """,
>>> 92: """
>>> 93: package p2;
>>
>> Does the test expect the `p2` package NOT to appear in the "contents" list because `p2` is not mentioned in the javadoc command?
>
> yes, the constants page should only include the "included packages" given on the command line. Note the test verifies a complete list on lines 112-115, so is a positive verification of the absence of `p2`.
I was asking because the test will still pass if that fourth (trailing) text block is deleted. So I wasn't sure what that text block was -- a part of the test or an artefact.
-------------
PR: https://git.openjdk.org/jdk19/pull/62
More information about the javadoc-dev
mailing list