On Fri, 17 Apr 2026 09:20:05 GMT, Hannes Wallnöfer <[email protected]> wrote:

> Please review a doc-only change to make the example doclet in 
> `jdk.javadoc.doclet` package documentation compile and work out of the box by 
> not hiding/replacing the imports. 
> 
> Additional changes are to reorder methods to match the more intuitive order 
> in the `Doclet` interface, change access for the `printElement` method to 
> private, and move the `overviewFile` field declaration to the top and the 
> `printElement` method to the end of the class.
> 
> This is a `noreg-doc` change, to test the changes I copied the snippet 
> contents via copy-to-clipboard button and compiled and ran the code using the 
> command line provided in the documentation.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: f5460ce2
Author:    Hannes Wallnöfer <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/f5460ce2ee01966a616219e96a0ae8004a95e252
Stats:     82 lines in 1 file changed: 39 ins; 43 del; 0 mod

8367342: Doclet documentation is incomplete

Reviewed-by: nbenalla

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

PR: https://git.openjdk.org/jdk/pull/30788

Reply via email to