--- jsr166/build.xml 2017/03/26 10:40:29 1.239 +++ jsr166/build.xml 2019/06/14 20:10:53 1.299 @@ -1,5 +1,6 @@ @@ -18,21 +19,27 @@ 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. ------------------------------------------------------------------------------ @@ -52,7 +59,6 @@ - @@ -103,7 +109,7 @@ - + @@ -134,6 +140,10 @@ + + + + @@ -144,6 +154,10 @@ + + + + @@ -183,15 +197,24 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -199,6 +222,11 @@ + + + + + @@ -231,7 +259,7 @@ - + @@ -298,34 +326,40 @@ - - - - - - - - - - - + + + + + + + + + + + + + - - - - - + + + + + + + + - - + + + @@ -334,7 +368,7 @@ - + @@ -343,16 +377,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -368,31 +403,32 @@ - + + + + + + + + depends="dist, 4jdk8dist" description="Builds all public jars and docs"/> + - - - - - - - - - - + @@ -409,12 +445,14 @@ fork="true"> - + - - + + + + @@ -453,33 +491,33 @@ + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> + - + + - - - - - - - - - + + + + + + + + - - - - + + @@ -489,42 +527,16 @@ description="Puts all distributable products in single hierarchy"/> - - - - - - - - - - - - - - - - - - - - - - - - @@ -543,7 +555,7 @@ description="Runs tck tests for src/main directly"> @@ -577,42 +589,138 @@ 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 +743,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - + description="Compiles all the perf tests in src/test/loops"> @@ -680,7 +756,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -688,9 +764,7 @@ - - @@ -716,14 +790,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -747,14 +819,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -770,7 +840,6 @@ - @@ -804,8 +873,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -828,15 +897,11 @@ - - - - - - - - - + + + + + @@ -848,9 +913,7 @@ - - @@ -866,13 +929,9 @@ + - - - - + - - - + - - - - + @@ -943,14 +993,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1041,38 +1074,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1111,13 +1124,9 @@ - - - - + @@ -1132,41 +1141,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - + + - - - - + @@ -1205,13 +1195,9 @@ - - - - + @@ -1226,42 +1212,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1300,13 +1266,9 @@ - - - - + @@ -1320,43 +1282,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1421,13 +1362,9 @@ - - - - + @@ -1441,16 +1378,11 @@ failonerror = "true"> - - - - + - - + @@ -1480,44 +1411,34 @@ + - - - - + - - + - - + - - - - - + + + + + - + @@ -1525,12 +1446,45 @@ + + + + + + + + + + + + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1549,22 +1503,13 @@ fork="true"> - - - - - - - - - - + + + + + + ${errorprone.jsr166.flags}"/> @@ -1579,34 +1524,46 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +