On Tue, 2 Jun 2026 02:49:40 GMT, Vladimir Petko <[email protected]> wrote:

> The top level type generation order is not deterministic due to the directory 
> listing being non-deterministic.
> Snippet ids are monotonically incremented during the javadoc run. This means 
> that the generated snippet ids are not reproducible. 
> This PR changes Set to the Map so that each page uses a separate snippet id 
> counter. 
> Alternatives:
>  - reset ids set when tagletWriter.htmlWriter changes
>  - list files in sorted order for javadoc generation
> 
> 
> 
> ==============================
> Test summary
> ==============================
>    TEST                                              TOTAL  PASS  FAIL ERROR  
> SKIP   
>    jtreg:test/langtools/jdk/javadoc                    398   397     0     0  
>    1   
> ==============================
> TEST SUCCESS
> 
> Finished building target 'test' in configuration 
> 'linux-x86_64-server-fastdebug'
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Looks correct.

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

Marked as reviewed by nbenalla (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/31345#pullrequestreview-4414701655

Reply via email to