--- jsr166/build.xml 2017/03/24 16:33:02 1.238 +++ jsr166/build.xml 2018/12/02 22:46:53 1.290 @@ -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,31 @@ + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> - + + - - - - - - - - - + + + + + + + - - - - + + @@ -486,42 +509,16 @@ description="Puts all distributable products in single hierarchy"/> - - - - - - - - - - - - - - - - - - - - - - - - @@ -540,7 +537,7 @@ description="Runs tck tests for src/main directly"> @@ -574,42 +571,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 +677,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - + description="Compiles all the perf tests in src/test/loops"> @@ -677,7 +690,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -685,9 +698,7 @@ - - @@ -713,14 +724,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -744,14 +753,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -767,7 +774,6 @@ - @@ -801,8 +807,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -825,15 +831,11 @@ - - - - - - - - - + + + + + @@ -845,9 +847,7 @@ - - @@ -863,13 +863,9 @@ + - - - - + - - - + - - - - + @@ -940,14 +927,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1038,38 +1008,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1108,13 +1058,9 @@ - - - - + @@ -1129,41 +1075,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1202,13 +1129,9 @@ - - - - + @@ -1223,42 +1146,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1297,13 +1200,9 @@ - - - - + @@ -1317,43 +1216,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1418,13 +1296,9 @@ - - - - + @@ -1438,16 +1312,11 @@ failonerror = "true"> - - - - + - - + @@ -1477,44 +1345,34 @@ + - - - - - + - + - - + - - - - - + + + + + - + @@ -1522,12 +1380,45 @@ + + + + + + + + + + + + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1546,22 +1437,13 @@ fork="true"> - - - - - - - - - - + + + + + + ${errorprone.jsr166.flags}"/> @@ -1576,34 +1458,46 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +