changeset 15403:a9df38ce8fb7

mx: disable doclint when running javadoc (until the code base is doclint clean)
author Doug Simon <doug.simon@oracle.com>
date Sun, 27 Apr 2014 16:44:59 +0200
parents 684fcfc314a8
children 1d3c23e675ed
files mxtool/mx.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Sat Apr 26 16:23:46 2014 +0200
+++ b/mxtool/mx.py	Sun Apr 27 16:44:59 2014 +0200
@@ -3995,6 +3995,7 @@
                      '-source', str(projectJava.javaCompliance),
                      '-bootclasspath', projectJava.bootclasspath(),
                      '-extdirs', projectJava.extdirs()] +
+                     ([] if java().javaCompliance < JavaCompliance('1.8') else ['-Xdoclint:none']) +
                      links +
                      extraArgs +
                      nowarnAPI +
@@ -4032,6 +4033,7 @@
              '-quiet',
              '-d', out,
              '-sourcepath', sp] +
+             ([] if java().javaCompliance < JavaCompliance('1.8') else ['-Xdoclint:none']) +
              links +
              extraArgs +
              nowarnAPI +