On Mon, 27 Jun 2022 17:27:18 GMT, Jonathan Gibbons <[email protected]> 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

Reply via email to