Skip to content

Commit 769e740

Browse files
committed
8303915: javadoc build failure after JDK-8294959
Reviewed-by: jjg
1 parent f9aadb9 commit 769e740

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

make/Docs.gmk

+2
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,14 @@ JAVA_WARNINGS_ARE_ERRORS ?= -Werror
110110
JAVADOC_OPTIONS := -use -keywords -notimestamp \
111111
-encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
112112
-splitIndex --system none -javafx --expand-requires transitive \
113+
--enable-preview -source $(JDK_SOURCE_TARGET_VERSION) \
113114
--override-methods=summary
114115

115116
# The reference options must stay stable to allow for comparisons across the
116117
# development cycle.
117118
REFERENCE_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \
118119
-encoding ISO-8859-1 -breakiterator -splitIndex --system none \
120+
--enable-preview -source $(JDK_SOURCE_TARGET_VERSION) \
119121
-html5 -javafx --expand-requires transitive
120122

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

0 commit comments

Comments
 (0)