--- jsr166/build.xml 2017/03/26 10:40:29 1.239 +++ jsr166/build.xml 2018/12/13 01:15:07 1.293 @@ -1,5 +1,6 @@ @@ -18,21 +19,25 @@ 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 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 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 .. 13 ... As of 2016-03, the sources in src/main are for jdk9+ only. ------------------------------------------------------------------------------ @@ -52,7 +57,6 @@ - @@ -103,7 +107,7 @@ - + @@ -134,6 +138,8 @@ + + @@ -144,6 +150,8 @@ + + @@ -183,15 +191,21 @@ - - - - - - - - - + + + + + + + + + + + + + + + @@ -199,6 +213,9 @@ + + + @@ -231,7 +248,7 @@ - + @@ -298,34 +315,38 @@ - - - - - - - - - - - + + + + + + + + + + + + + - - - - - + + + + + + - - + + + @@ -334,7 +355,7 @@ - + @@ -343,16 +364,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -368,31 +390,32 @@ - + + + + + + + + depends="dist, 4jdk8dist" description="Builds all public jars and docs"/> + - - - - - - - - - - + @@ -409,12 +432,13 @@ fork="true"> - + - - + + + @@ -453,33 +477,32 @@ + source="${build.main.javadoc.source}" + executable="${build.main.javadoc}"> + - + + - - - - - - - - - + + + + + + + - - - - + + @@ -489,42 +512,16 @@ description="Puts all distributable products in single hierarchy"/> - - - - - - - - - - - - - - - - - - - - - - - - @@ -543,7 +540,7 @@ description="Runs tck tests for src/main directly"> @@ -577,42 +574,90 @@ 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 +680,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - + description="Compiles all the perf tests in src/test/loops"> @@ -680,7 +693,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -688,9 +701,7 @@ - - @@ -716,14 +727,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -747,14 +756,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -770,7 +777,6 @@ - @@ -804,8 +810,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -828,15 +834,11 @@ - - - - - - - - - + + + + + @@ -848,9 +850,7 @@ - - @@ -866,13 +866,9 @@ + - - - - + - - - + - - - - + @@ -943,14 +930,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1041,38 +1011,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1111,13 +1061,9 @@ - - - - + @@ -1132,41 +1078,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1205,13 +1132,9 @@ - - - - + @@ -1226,42 +1149,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1300,13 +1203,9 @@ - - - - + @@ -1320,43 +1219,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1421,13 +1299,9 @@ - - - - + @@ -1441,16 +1315,11 @@ failonerror = "true"> - - - - + - - + @@ -1480,44 +1348,34 @@ + - - - - - + - + - - + - - - - - + + + + + - + @@ -1525,12 +1383,45 @@ + + + + + + + + + + + + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1549,22 +1440,13 @@ fork="true"> - - - - - - - - - - + + + + + + ${errorprone.jsr166.flags}"/> @@ -1579,34 +1461,46 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +