252 |
|
<compilerarg value="-XDignore.symbol.file=true"/> |
253 |
|
<compilerarg value="-Xlint:all,-unchecked,-rawtypes,-serial,-deprecation,-try"/> |
254 |
|
<compilerarg value="-Xbootclasspath/p:@{classes}" unless:set="modules"/> |
255 |
< |
<compilerarg value="-Xpatch:${build.classes.dir}" if:set="modules"/> |
255 |
> |
<compilerarg value="-Xpatch:java.base=${build.classes.dir}/java.base" if:set="modules"/> |
256 |
|
<compilerarg line="${build.args}"/> |
257 |
|
<javac-elements/> |
258 |
|
|
263 |
|
jvm="${java@{target}}" |
264 |
|
fork="true"> |
265 |
|
<jvmarg value="-Xbootclasspath/p:@{classes}" unless:set="modules"/> |
266 |
< |
<jvmarg value="-Xpatch:${build.classes.dir}" if:set="modules"/> |
266 |
> |
<jvmarg value="-Xpatch:java.base=${build.classes.dir}/java.base" if:set="modules"/> |
267 |
|
<jvmarg line="@{jvmflags}"/> |
268 |
|
|
269 |
|
<!-- ant -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 tck --> |
333 |
|
reportDir="@{workdir}/JTreport"> |
334 |
|
<patternset refid="jdk@{target}.jtreg.tests"/> |
335 |
|
<arg value="-Xbootclasspath/p:@{classes}" unless:set="modules"/> |
336 |
< |
<arg value="-Xpatch:${build.classes.dir}" if:set="modules"/> |
336 |
> |
<arg value="-vmoption:-Xpatch:java.base=${build.classes.dir}/java.base" if:set="modules"/> |
337 |
|
<arg value="-agentvm"/> |
338 |
|
<arg value="-verbose:${jtreg.verbose}"/> |
339 |
|
<arg value="-vmoptions:-esa -ea"/> |
409 |
|
<target name="jar" |
410 |
|
depends="compile" |
411 |
|
description="Builds library jar for src/main from compiled sources"> |
412 |
< |
|
412 |
> |
<local name="subdir"/> |
413 |
> |
<available property="subdir" file="${build.classes.dir}/java.base" type="dir" value="/java.base"/> |
414 |
|
<jar destfile="${product.jar}"> |
415 |
< |
<fileset dir="${build.classes.dir}"/> |
415 |
> |
<fileset dir="${build.classes.dir}${subdir}"/> |
416 |
|
<manifest> |
417 |
|
<attribute name="Built-By" value="${user.name}"/> |
418 |
|
<attribute name="Implementation-Vendor" value="JCP JSR-166 Expert Group."/> |
540 |
|
</antcall> |
541 |
|
</target> |
542 |
|
|
543 |
+ |
<target name="tck-security-manager" |
544 |
+ |
description="Runs tck with a security manager"> |
545 |
+ |
<antcall target="tck"> |
546 |
+ |
<param name="jsr166.useSecurityManager" value="true"/> |
547 |
+ |
</antcall> |
548 |
+ |
</target> |
549 |
+ |
|
550 |
|
<target name="jtreg" |
551 |
|
depends="jar" |
552 |
|
description="Runs jtreg tests for src/main using the jtreg ant task"> |