319 |
|
|
320 |
|
<macrodef name="run-jtreg-tests"> |
321 |
|
<!-- ant -Djtreg9.src.dir=src/test/jtreg/util/concurrent/CompletableFuture jtreg --> |
322 |
– |
<attribute name="source" default="7"/> |
322 |
|
<attribute name="target"/> |
323 |
|
<attribute name="workdir"/> |
324 |
|
<attribute name="classes"/> |
410 |
|
<compilerarg value="-Xprefer:source"/> |
411 |
|
<compilerarg value="-XDignore.symbol.file=true"/> |
412 |
|
<compilerarg value="-Xlint:all"/> |
413 |
< |
<compilerarg value="-Werror"/> |
413 |
> |
<compilerarg line="--doclint-format html5"/> |
414 |
|
<compilerarg value="-Xdoclint:all/protected,reference/private"/> |
415 |
+ |
<compilerarg value="-Werror"/> |
416 |
|
<compilerarg line="-Xmaxerrs 1000 -Xmaxwarns 1000"/> |
417 |
|
<compilerarg line="${build.args}"/> |
418 |
|
|
456 |
|
access="${build.javadoc.access}" |
457 |
|
sourcepath="${src.dir}" |
458 |
|
classpath="" |
459 |
+ |
source="9" |
460 |
|
executable="${javadoc9}"> |
461 |
|
<fileset dir="${src.dir}" defaultexcludes="yes"> |
462 |
|
<include name="**/*.java"/> |
464 |
|
<arg line="-Xdocrootparent ${java9.docroot.url}"/> |
465 |
|
<arg line="-Xmaxerrs 1000 -Xmaxwarns 1000"/> |
466 |
|
<arg value="-XDignore.symbol.file=true"/> |
467 |
+ |
<arg value="-html5"/> |
468 |
|
<arg value="--patch-module=java.base=${src.dir}"/> |
469 |
|
<arg value="-tag"/> |
470 |
|
<arg value="${javadoc.jls.option}"/> |
807 |
|
access="${build.javadoc.access}" |
808 |
|
sourcepath="${4jdk8src.dir}:${jdk8.src.dir}" |
809 |
|
classpath="" |
810 |
+ |
source="8" |
811 |
|
executable="${javadoc8}" |
812 |
|
failonerror = "true"> |
813 |
|
<fileset dir="${4jdk8src.dir}" defaultexcludes="yes"> |