--- jsr166/build.xml 2017/03/24 16:33:02 1.238 +++ jsr166/build.xml 2017/10/31 17:47:57 1.258 @@ -18,12 +18,10 @@ itself. Because the JDK version matters and because different targets require different JDKs, we assume that users have created a hierarchy containing: - $HOME/jdk/jdk7 $HOME/jdk/jdk8 $HOME/jdk/jdk9 $HOME/jdk/jdk10 where each of the above is a JDK or a symlink to same, and - $HOME/jdk/src/jdk7 $HOME/jdk/src/jdk8 $HOME/jdk/src/jdk9 $HOME/jdk/src/jdk10 @@ -32,7 +30,7 @@ Alternatively, define ant variables thus: ant -Djdk$N.home=... -Djdk$N.src.home=... - for $N in 7 8 9 10 ... + for $N in 8 9 10 ... As of 2016-03, the sources in src/main are for jdk9+ only. ------------------------------------------------------------------------------ @@ -183,15 +181,16 @@ - - - - - - - + + + + + + + + - + @@ -298,6 +297,12 @@ + + + + + + @@ -321,11 +326,12 @@ - + + @@ -343,16 +349,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -369,27 +376,30 @@ - + + + + + + + + + + + - - - - - - - - - - + @@ -406,12 +416,13 @@ fork="true"> - + - + + @@ -455,13 +466,15 @@ access="${build.javadoc.access}" sourcepath="${src.dir}" classpath="" - executable="${javadoc9}"> + source="9" + executable="${build.main.javadoc}"> + @@ -510,18 +523,14 @@ - - - - @@ -581,8 +590,7 @@ - + description="Runs tck and jtreg tests for src/main"/> @@ -593,22 +601,23 @@ - - + - - - - - + + + + - - - - - + + + + - + + + + @@ -660,12 +669,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -677,7 +685,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -685,9 +693,7 @@ - - @@ -713,14 +719,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -744,14 +748,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -767,7 +769,6 @@ - @@ -801,8 +802,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -845,9 +846,7 @@ - - @@ -863,13 +862,9 @@ + - - - - + - - - + - - - - + @@ -940,14 +926,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1038,38 +1007,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1108,13 +1057,9 @@ - - - - + @@ -1129,41 +1074,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1202,13 +1128,9 @@ - - - - + @@ -1223,42 +1145,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1297,13 +1199,9 @@ - - - - + @@ -1317,43 +1215,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1418,13 +1295,9 @@ - - - - + @@ -1438,16 +1311,11 @@ failonerror = "true"> - - - - + - - + @@ -1477,30 +1344,20 @@ + - - - - - + - + - - + @@ -1523,11 +1380,11 @@ + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1546,21 +1403,17 @@ fork="true"> - - - - - - - - - - + @@ -1580,30 +1433,61 @@ workdir="${build.dir}" classes="${product.jar}"> - - - - - - - - - - - + + + + + + + + + + + + +