--- jsr166/build.xml 2017/03/24 16:33:02 1.238 +++ jsr166/build.xml 2018/12/13 01:12:01 1.292 @@ -1,5 +1,6 @@ @@ -18,21 +19,23 @@ 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 + $HOME/jdk/jdk11 + $HOME/jdk/jdk12 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 + $HOME/jdk/src/jdk11 + $HOME/jdk/src/jdk12 where each of the above is a complete JDK source tree (e.g. mercurial forest) or a symlink to same. 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. ------------------------------------------------------------------------------ @@ -52,7 +55,6 @@ - @@ -103,7 +105,7 @@ - + @@ -134,6 +136,8 @@ + + @@ -144,6 +148,8 @@ + + @@ -183,15 +189,21 @@ - - - - - - - - - + + + + + + + + + + + + + + + @@ -199,6 +211,9 @@ + + + @@ -231,7 +246,7 @@ - + @@ -298,34 +313,38 @@ - - - - - - - - - - - + + + + + + + + + + + + + - - - - - + + + + + + - - + + + @@ -334,7 +353,7 @@ - + @@ -343,16 +362,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -368,28 +388,32 @@ - + + + + + + + + + - - - - - - - - - - + @@ -406,12 +430,13 @@ fork="true"> - + - - + + + @@ -450,33 +475,32 @@ + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> + - + + - - - - - - - - - + + + + + + + - - - - + + @@ -486,42 +510,16 @@ description="Puts all distributable products in single hierarchy"/> - - - - - - - - - - - - - - - - - - - - - - - - @@ -540,7 +538,7 @@ description="Runs tck tests for src/main directly"> @@ -574,42 +572,90 @@ depends="jar" description="Runs jtreg tests for src/main using the jtreg ant task"> - + description="Runs tck and jtreg tests for src/main"/> - - - - - - + + - + + + + + + + + + + + - - + + + + + + + + + + + - - - - - + + + + + + + + + + + - - - - - + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + @@ -632,40 +678,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - + description="Compiles all the perf tests in src/test/loops"> @@ -677,7 +691,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -685,9 +699,7 @@ - - @@ -713,14 +725,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -744,14 +754,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -767,7 +775,6 @@ - @@ -801,8 +808,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -825,15 +832,11 @@ - - - - - - - - - + + + + + @@ -845,9 +848,7 @@ - - @@ -863,13 +864,9 @@ + - - - - + - - - + - - - - + @@ -940,14 +928,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1038,38 +1009,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1108,13 +1059,9 @@ - - - - + @@ -1129,41 +1076,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1202,13 +1130,9 @@ - - - - + @@ -1223,42 +1147,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1297,13 +1201,9 @@ - - - - + @@ -1317,43 +1217,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1418,13 +1297,9 @@ - - - - + @@ -1438,16 +1313,11 @@ failonerror = "true"> - - - - + - - + @@ -1477,44 +1346,34 @@ + - - - - - + - + - - + - - - - - + + + + + - + @@ -1522,12 +1381,45 @@ + + + + + + + + + + + + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1546,22 +1438,13 @@ fork="true"> - - - - - - - - - - + + + + + + ${errorprone.jsr166.flags}"/> @@ -1576,34 +1459,46 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +