--- jsr166/build.xml 2017/03/26 10:40:29 1.239 +++ jsr166/build.xml 2019/09/17 16:20:44 1.303 @@ -1,5 +1,6 @@ @@ -18,23 +19,26 @@ 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 + $HOME/jdk/jdk13 + $HOME/jdk/jdk14 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 + $HOME/jdk/src/jdk13 + $HOME/jdk/src/jdk14 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 .. 14 ... As of 2016-03, the sources in src/main are for jdk9+ only. + As of 2019-08, the sources in src/main are for jdk11+ only. ------------------------------------------------------------------------------ @@ -52,7 +56,6 @@ - @@ -103,7 +106,7 @@ - + @@ -129,22 +132,23 @@ - - - - + + + + - - - - + + + + + @@ -183,22 +187,28 @@ - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + @@ -231,7 +241,7 @@ - + @@ -298,34 +308,37 @@ - - - - - - - - - - - + + + + + + + + + + + + + - - - - - + + + + + - - + + + @@ -334,7 +347,7 @@ - + @@ -343,16 +356,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -363,36 +377,39 @@ + - - + + + + + + + + + + depends="dist, 4jdk8dist" description="Builds all public jars and docs"/> + - - - - - - - - - - + @@ -409,12 +426,15 @@ fork="true"> - + - - + + + + + @@ -453,33 +473,33 @@ + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> + - + + - - - - - - - - - + + + + + + + + - - - - + + @@ -489,42 +509,16 @@ description="Puts all distributable products in single hierarchy"/> - - - - - - - - - - - - - - - - - - - - - - - - @@ -543,7 +537,7 @@ description="Runs tck tests for src/main directly"> @@ -577,42 +571,128 @@ depends="jar" description="Runs jtreg tests for src/main using the jtreg ant task"> - + description="Runs tck and jtreg tests for src/main"/> - + + - - - + + + + + + + + + + - - - - + + - - - + + + + + + + + - - - - - + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -635,40 +715,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - + description="Compiles all the perf tests in src/test/loops"> @@ -680,7 +728,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -688,9 +736,7 @@ - - @@ -716,14 +762,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -747,14 +791,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -770,7 +812,6 @@ - @@ -804,8 +845,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -828,15 +869,11 @@ - - - - - - - - - + + + + + @@ -848,9 +885,7 @@ - - @@ -866,13 +901,9 @@ + - - - - + - - - + - - - - + @@ -943,14 +965,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1041,38 +1046,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1111,13 +1096,9 @@ - - - - + @@ -1132,41 +1113,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1205,13 +1167,9 @@ - - - - + @@ -1226,42 +1184,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1300,13 +1238,9 @@ - - - - + @@ -1320,43 +1254,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1421,13 +1334,9 @@ - - - - + @@ -1441,16 +1350,11 @@ failonerror = "true"> - - - - + - - + @@ -1480,44 +1383,34 @@ + - - - - + - - + - - + - - - - - + + + + + - + @@ -1525,12 +1418,45 @@ + + + + + + + + + + + + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1549,22 +1475,13 @@ fork="true"> - - - - - - - - - - + + + + + + ${errorprone.jsr166.flags}"/> @@ -1579,34 +1496,46 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +