@@ -99,7 +99,8 @@ JAVADOC_TAGS := \
9999REFERENCE_TAGS := $(JAVADOC_TAGS)
100100
101101# Which doclint checks to ignore
102- JAVADOC_DISABLED_DOCLINT := missing
102+ JAVADOC_DISABLED_DOCLINT_WARNINGS := missing
103+ JAVADOC_DISABLED_DOCLINT_PACKAGES := org.w3c.* javax.smartcardio
103104
104105# The initial set of options for javadoc
105106JAVADOC_OPTIONS := -use -keywords -notimestamp \
@@ -294,9 +295,10 @@ define SetupApiDocsGenerationBody
294295
295296 # Create a string like "-Xdoclint:all,-syntax,-html,..."
296297 $1_OPTIONS += -Xdoclint:all,$$(call CommaList, $$(addprefix -, \
297- $$(JAVADOC_DISABLED_DOCLINT)))
298- # Ignore the doclint warnings in the W3C DOM package
299- $1_OPTIONS += -Xdoclint/package:-org.w3c.*
298+ $$(JAVADOC_DISABLED_DOCLINT_WARNINGS)))
299+ # Ignore the doclint warnings in certain packages
300+ $1_OPTIONS += -Xdoclint/package:$$(call CommaList, $$(addprefix -, \
301+ $$(JAVADOC_DISABLED_DOCLINT_PACKAGES)))
300302
301303 ifneq ($$($1_OTHER_VERSIONS), )
302304 $1_LINKED_SHORT_NAME = <a href="$$($1_OTHER_VERSIONS)">$$($1_SHORT_NAME)</a>
0 commit comments