Integrated: 8287749: Re-enable javadoc -serialwarn option

Hannes Wallnöfer hannesw at openjdk.org
Wed Feb 26 15:02:11 UTC 2025


On Wed, 26 Feb 2025 14:06:43 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> Please review a simple build change to re-enable the `-serialwarn` javadoc option for normal and reference API docs. The option was removed in [JDK-8252717](https://bugs.openjdk.org/browse/JDK-8252717) to avoid warnings for missing `@serial` tags which have since been added in [JDK-8286931](https://bugs.openjdk.org/browse/JDK-8286931). 
> 
> I tested normal and reference docs builds, both run without warning and the generated documentation is unchanged. The `@serial` tag in the Exception template is required and also does not affect javadoc output.

This pull request has now been integrated.

Changeset: 27317123
Author:    Hannes Wallnöfer <hannesw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2731712383937ce7213c4c2b89f8c041708a3f90
Stats:     5 lines in 2 files changed: 2 ins; 0 del; 3 mod

8287749: Re-enable javadoc -serialwarn option

Reviewed-by: erikj

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

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


More information about the build-dev mailing list