瀏覽代碼

HADOOP-9848 Addendum fixing OK_JAVADOC_WARNINGS in test-patch

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1513528 13f79535-47bb-0310-9956-ffa450edef68
Alejandro Abdelnur 11 年之前
父節點
當前提交
5a33cdabd8
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dev-support/test-patch.sh

+ 3 - 0
dev-support/test-patch.sh

@@ -395,6 +395,9 @@ checkJavadocWarnings () {
   echo ""
   echo "There appear to be $javadocWarnings javadoc warnings generated by the patched build."
 
+  #There are 11 warnings that are caused by things that are caused by using sun internal APIs.
+  #There are 2 warnings that are caused by the Apache DS Dn class used in MiniKdc.
+  OK_JAVADOC_WARNINGS=13;
   ### if current warnings greater than OK_JAVADOC_WARNINGS
   if [[ $javadocWarnings -gt $OK_JAVADOC_WARNINGS ]] ; then
     JIRA_COMMENT="$JIRA_COMMENT