--- jsr166/build.xml 2017/03/26 10:40:29 1.239 +++ jsr166/build.xml 2019/08/18 18:55:55 1.302 @@ -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,27 @@ - - - - - - - - - + + + + + + + + + + + + + + - - - - + + + + @@ -231,7 +240,7 @@ - + @@ -298,34 +307,37 @@ - - - - - - - - - - - + + + + + + + + + + + + + - - - - - + + + + + - - + + + @@ -334,7 +346,7 @@ - + @@ -343,16 +355,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -363,36 +376,39 @@ + - - + + + + + + + + + + depends="dist, 4jdk8dist" description="Builds all public jars and docs"/> + - - - - - - - - - - + @@ -409,12 +425,15 @@ fork="true"> - + - - + + + + + @@ -453,33 +472,33 @@ + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> + - + + - - - - - - - - - + + + + + + + + - - - - + + @@ -489,42 +508,16 @@ description="Puts all distributable products in single hierarchy"/> - - - - - - - - - - - - - - - - - - - - - - - - @@ -543,7 +536,7 @@ description="Runs tck tests for src/main directly"> @@ -577,42 +570,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 +714,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - + description="Compiles all the perf tests in src/test/loops"> @@ -680,7 +727,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -688,9 +735,7 @@ - - @@ -716,14 +761,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -747,14 +790,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -770,7 +811,6 @@ - @@ -804,8 +844,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -828,15 +868,11 @@ - - - - - - - - - + + + + + @@ -848,9 +884,7 @@ - - @@ -866,13 +900,9 @@ + - - - - + - - - + - - - - + @@ -943,14 +964,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1041,38 +1045,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1111,13 +1095,9 @@ - - - - + @@ -1132,41 +1112,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1205,13 +1166,9 @@ - - - - + @@ -1226,42 +1183,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1300,13 +1237,9 @@ - - - - + @@ -1320,43 +1253,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1421,13 +1333,9 @@ - - - - + @@ -1441,16 +1349,11 @@ failonerror = "true"> - - - - + - - + @@ -1480,44 +1382,34 @@ + - - - - + - - + - - + - - - - - + + + + + - + @@ -1525,12 +1417,45 @@ + + + + + + + + + + + + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1549,22 +1474,13 @@ fork="true"> - - - - - - - - - - + + + + + + ${errorprone.jsr166.flags}"/> @@ -1579,34 +1495,46 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +