Skip to content

Commit 2731712

Browse files
committed
8287749: Re-enable javadoc -serialwarn option
Reviewed-by: erikj
1 parent 0f82268 commit 2731712

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

make/Docs.gmk

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ JAVA_WARNINGS_ARE_ERRORS ?= -Werror
9898

9999
# The initial set of options for javadoc
100100
JAVADOC_OPTIONS := -use -keywords -notimestamp \
101-
-encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
101+
-serialwarn -encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
102102
-splitIndex --system none -javafx --expand-requires transitive \
103103
--override-methods=summary
104104

105105
# The reference options must stay stable to allow for comparisons across the
106106
# development cycle.
107107
REFERENCE_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \
108-
-encoding ISO-8859-1 -breakiterator -splitIndex --system none \
108+
-serialwarn -encoding ISO-8859-1 -breakiterator -splitIndex --system none \
109109
-html5 -javafx --expand-requires transitive
110110

111111
# Should we add DRAFT stamps to the generated javadoc?

make/scripts/genExceptions.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
#
3-
# Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
44
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
#
66
# This code is free software; you can redistribute it and/or modify it
@@ -70,6 +70,8 @@ __END__
7070
7171
/**
7272
* The $ARG_PHRASE.
73+
*
74+
* @serial
7375
*/
7476
private $ARG_TYPE $ARG_ID;
7577

0 commit comments

Comments
 (0)