--- jsr166/build.xml 2017/03/24 16:33:02 1.238 +++ jsr166/build.xml 2017/10/22 03:57:51 1.256 @@ -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,15 @@ - - - - - - - + + + + + + + - + @@ -298,6 +296,12 @@ + + + + + + @@ -321,11 +325,12 @@ - + + @@ -343,16 +348,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -369,27 +375,30 @@ - + + + + + + + + + + + - - - - - - - - - - + @@ -406,12 +415,13 @@ fork="true"> - + - + + @@ -455,13 +465,15 @@ access="${build.javadoc.access}" sourcepath="${src.dir}" classpath="" - executable="${javadoc9}"> + source="9" + executable="${build.main.javadoc}"> + @@ -510,18 +522,14 @@ - - - - @@ -581,8 +589,7 @@ - + description="Runs tck and jtreg tests for src/main"/> @@ -593,22 +600,23 @@ - - + - - - - - + + + + - - - - - + + + + - + + + + @@ -660,12 +668,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -677,7 +684,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -685,9 +692,7 @@ - - @@ -713,14 +718,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -744,14 +747,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -767,7 +768,6 @@ - @@ -801,8 +801,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -845,9 +845,7 @@ - - @@ -863,13 +861,9 @@ + - - - - + - - - + - - - - + @@ -940,14 +925,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1038,38 +1006,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1108,13 +1056,9 @@ - - - - + @@ -1129,41 +1073,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1202,13 +1127,9 @@ - - - - + @@ -1223,42 +1144,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1297,13 +1198,9 @@ - - - - + @@ -1317,43 +1214,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1418,13 +1294,9 @@ - - - - + @@ -1438,16 +1310,11 @@ failonerror = "true"> - - - - + - - + @@ -1477,30 +1343,20 @@ + - - - - - + - + - - + @@ -1523,11 +1379,11 @@ + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1546,21 +1402,17 @@ fork="true"> - - - - - - - - - - + @@ -1580,30 +1432,61 @@ workdir="${build.dir}" classes="${product.jar}"> - - - - - - - - - - - + + + + + + + + + + + + +