--- jsr166/build.xml 2017/05/17 00:17:49 1.244 +++ jsr166/build.xml 2019/08/18 18:55:55 1.302 @@ -1,5 +1,6 @@ @@ -19,20 +20,25 @@ targets require different JDKs, we assume that users have created a hierarchy containing: $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/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 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. ------------------------------------------------------------------------------ @@ -50,7 +56,6 @@ - @@ -101,7 +106,7 @@ - + @@ -127,22 +132,23 @@ - - - - + + + + - - - - + + + + + @@ -181,22 +187,27 @@ - - - - - - - - - + + + + + + + + + + + + + + - - - - + + + + @@ -229,7 +240,7 @@ - + @@ -296,34 +307,37 @@ - - - - - - - - - - - + + + + + + + + + + + + + - - - - - + + + + + - - + + + @@ -332,7 +346,7 @@ - + @@ -341,16 +355,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -361,36 +376,39 @@ + - - + + + + + + + + + + - + - - - - - - - - - - + @@ -407,12 +425,14 @@ fork="true"> - + - + + + @@ -452,35 +472,33 @@ + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> + - + - - - - - - - - - + + + + + + + + - - - - + + @@ -490,28 +508,6 @@ description="Puts all distributable products in single hierarchy"/> - - - - - - - - - - - - - - - - - - - - @@ -540,7 +536,7 @@ description="Runs tck tests for src/main directly"> @@ -574,7 +570,7 @@ depends="jar" description="Runs jtreg tests for src/main using the jtreg ant task"> @@ -583,32 +579,119 @@ depends="tck, tck-parallelism-1, tck-parallelism-0, jtreg" description="Runs tck and jtreg tests for src/main"/> - + + - - - + + + + + + + + + + - - - - + + - - - + + + + + + + + - - - - - + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -631,37 +714,6 @@ - - - - - - - - - - - - - - - - - - - - - - - @@ -675,7 +727,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -816,15 +868,11 @@ - - - - - - - - - + + + + + @@ -1354,14 +1402,14 @@ - - - - - + + + + + - + @@ -1369,9 +1417,42 @@ + + + + + + + + + + + + @@ -1393,28 +1474,13 @@ fork="true"> - - - - - - - - - - + + + + + + ${errorprone.jsr166.flags}"/> @@ -1429,40 +1495,46 @@ - - - - - - - - - - + + + + + ${errorprone.jsr166.flags} + ${errorprone.jsr166.test.flags}"/> + + + + + + + + + + + + + +