407 |
|
<compilerarg line="${build.args}"/> |
408 |
|
|
409 |
|
</javac> |
410 |
– |
|
411 |
– |
<!-- We need jdk9's Contended annotation, but at compile time only --> |
412 |
– |
<!-- |
413 |
– |
<delete file="${destdir}/jdk/internal/vm/annotation/Contended.class"/> |
414 |
– |
--> |
410 |
|
</target> |
411 |
|
|
412 |
|
|
413 |
|
<target name="jar" |
414 |
|
depends="compile" |
415 |
< |
description="Builds library jar from compiled sources"> |
415 |
> |
description="Builds library jar for src/main from compiled sources"> |
416 |
|
|
417 |
|
<jar destfile="${product.jar}"> |
418 |
|
<fileset dir="${build.classes.dir}"/> |
521 |
|
|
522 |
|
<target name="tck" |
523 |
|
depends="jar" |
524 |
< |
description="Runs tck tests for main directly"> |
524 |
> |
description="Runs tck tests for src/main directly"> |
525 |
|
|
526 |
|
<run-tck-tests |
527 |
|
target="${build.main.java.version}" |
545 |
|
|
546 |
|
<target name="jtreg" |
547 |
|
depends="jar" |
548 |
< |
description="Runs jtreg tests for main using the jtreg ant task"> |
548 |
> |
description="Runs jtreg tests for src/main using the jtreg ant task"> |
549 |
|
<run-jtreg-tests |
550 |
|
target="${build.main.java.version}" |
551 |
|
workdir="${build.dir}" |
554 |
|
|
555 |
|
<target name="test" |
556 |
|
depends="tck, tck-parallelism-1, jtreg" |
557 |
< |
description="Runs tck and jtreg tests for main"> |
557 |
> |
description="Runs tck and jtreg tests for src/main"> |
558 |
|
</target> |
559 |
|
|
560 |
< |
<target name="jtreg8" description="Runs jtreg tests with jdk8"> |
560 |
> |
<!-- <target name="jtreg8" description="Runs jtreg tests with jdk8"> --> |
561 |
|
|
562 |
< |
<antcall target="jtreg"> |
563 |
< |
<param name="build.main.java.version" value="8"/> |
564 |
< |
<param name="build.main.javac" value="${javac8}"/> |
565 |
< |
</antcall> |
562 |
> |
<!-- <antcall target="jtreg"> --> |
563 |
> |
<!-- <param name="build.main.java.version" value="8"/> --> |
564 |
> |
<!-- <param name="build.main.javac" value="${javac8}"/> --> |
565 |
> |
<!-- </antcall> --> |
566 |
|
|
567 |
< |
</target> |
567 |
> |
<!-- </target> --> |
568 |
|
|
569 |
< |
<target name="test89" |
570 |
< |
description="Runs tck and jtreg tests for main for multiple java versions"> |
569 |
> |
<!-- <target name="test89" --> |
570 |
> |
<!-- description="Runs tck and jtreg tests for src/main for multiple java versions"> --> |
571 |
|
|
572 |
< |
<antcall target="clean"/> |
573 |
< |
<antcall target="test"> |
574 |
< |
<param name="build.main.java.version" value="8"/> |
575 |
< |
<param name="build.main.javac" value="${javac8}"/> |
576 |
< |
</antcall> |
572 |
> |
<!-- <antcall target="clean"/> --> |
573 |
> |
<!-- <antcall target="test"> --> |
574 |
> |
<!-- <param name="build.main.java.version" value="8"/> --> |
575 |
> |
<!-- <param name="build.main.javac" value="${javac8}"/> --> |
576 |
> |
<!-- </antcall> --> |
577 |
|
|
578 |
< |
<antcall target="clean"/> |
579 |
< |
<antcall target="test"> |
580 |
< |
<param name="build.main.java.version" value="9"/> |
581 |
< |
<param name="build.main.javac" value="${javac9}"/> |
582 |
< |
</antcall> |
578 |
> |
<!-- <antcall target="clean"/> --> |
579 |
> |
<!-- <antcall target="test"> --> |
580 |
> |
<!-- <param name="build.main.java.version" value="9"/> --> |
581 |
> |
<!-- <param name="build.main.javac" value="${javac9}"/> --> |
582 |
> |
<!-- </antcall> --> |
583 |
|
|
584 |
< |
</target> |
584 |
> |
<!-- </target> --> |
585 |
|
|
586 |
|
|
587 |
|
|
611 |
|
<!-- Various demos and test programs --> |
612 |
|
|
613 |
|
|
614 |
< |
<target name="loops" depends="configure-compiler" |
615 |
< |
description="Benchmark from Doug Lea's AQS paper"> |
614 |
> |
<!-- description="Benchmark from Doug Lea's AQS paper" --> |
615 |
> |
<target name="loops" depends="configure-compiler"> |
616 |
|
|
617 |
|
<mkdir dir="${build.loops.dir}"/> |
618 |
|
|
936 |
|
</target> |
937 |
|
|
938 |
|
|
939 |
+ |
<!-- Runs tck tests for jsr166-4jdk7 via junit task (dead experiment) --> |
940 |
|
<target name="4jdk7-tck-junit" |
941 |
< |
depends="4jdk7compile" |
946 |
< |
description="Runs tck tests for jsr166-4jdk7 via junit task (experimental)"> |
941 |
> |
depends="4jdk7compile"> |
942 |
|
|
943 |
|
<junit printsummary="true" |
944 |
|
showoutput="true" |