From 6aa28b3bdb78eb041a963d659d61e1622bc43ef8 Mon Sep 17 00:00:00 2001 From: Bradford Wetmore Date: Thu, 18 Mar 2021 22:31:01 +0000 Subject: [PATCH] 8263827: Suspend "missing" javadoc doclint checks for smartcardio Co-authored-by: Magnus Ihse Bursie Reviewed-by: erikj --- make/Docs.gmk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/make/Docs.gmk b/make/Docs.gmk index 295cf7d9119..83ffe2e4df5 100644 --- a/make/Docs.gmk +++ b/make/Docs.gmk @@ -99,7 +99,8 @@ JAVADOC_TAGS := \ REFERENCE_TAGS := $(JAVADOC_TAGS) # Which doclint checks to ignore -JAVADOC_DISABLED_DOCLINT := missing +JAVADOC_DISABLED_DOCLINT_WARNINGS := missing +JAVADOC_DISABLED_DOCLINT_PACKAGES := org.w3c.* javax.smartcardio # The initial set of options for javadoc JAVADOC_OPTIONS := -use -keywords -notimestamp \ @@ -294,9 +295,10 @@ define SetupApiDocsGenerationBody # Create a string like "-Xdoclint:all,-syntax,-html,..." $1_OPTIONS += -Xdoclint:all,$$(call CommaList, $$(addprefix -, \ - $$(JAVADOC_DISABLED_DOCLINT))) - # Ignore the doclint warnings in the W3C DOM package - $1_OPTIONS += -Xdoclint/package:-org.w3c.* + $$(JAVADOC_DISABLED_DOCLINT_WARNINGS))) + # Ignore the doclint warnings in certain packages + $1_OPTIONS += -Xdoclint/package:$$(call CommaList, $$(addprefix -, \ + $$(JAVADOC_DISABLED_DOCLINT_PACKAGES))) ifneq ($$($1_OTHER_VERSIONS), ) $1_LINKED_SHORT_NAME = $$($1_SHORT_NAME)