234 |
|
<available file="${jdk@{compile-target}.home}/jmods" type="dir"/> |
235 |
|
</condition> |
236 |
|
|
237 |
+ |
<local name="use-doclint"/> |
238 |
+ |
<condition property="use-doclint"> |
239 |
+ |
<not> <equals arg1="@{target}" arg2="7"/> </not> |
240 |
+ |
</condition> |
241 |
+ |
|
242 |
|
<mkdir dir="@{workdir}/tck-classes"/> |
243 |
|
|
244 |
|
<javac srcdir="@{tck.src.dir}" |
258 |
|
<include name="*.java"/> |
259 |
|
<compilerarg value="-XDignore.symbol.file=true"/> |
260 |
|
<compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial,-deprecation,-try"/> |
261 |
< |
<compilerarg value="-Xdoclint:reference/private"/> |
261 |
> |
<compilerarg value="-Xdoclint:reference/private" if:set="use-doclint"/> |
262 |
|
<compilerarg value="-Xbootclasspath/p:@{classes}" unless:set="modules"/> |
263 |
|
<compilerarg value="--patch-module=java.base=@{classes}" if:set="modules"/> |
264 |
|
<compilerarg line="${build.args}"/> |