--- jsr166/build.xml 2017/03/20 00:03:57 1.236 +++ jsr166/build.xml 2017/12/24 22:17:17 1.260 @@ -18,21 +18,21 @@ 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 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 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. ------------------------------------------------------------------------------ @@ -134,6 +134,7 @@ + @@ -144,6 +145,7 @@ + @@ -183,15 +185,18 @@ - - - - - - - + + + + + + + + - + + + @@ -199,6 +204,8 @@ + + @@ -234,6 +241,11 @@ + + + + + - + @@ -293,6 +305,18 @@ + + + + + + + + + + + + @@ -316,11 +340,12 @@ - + + @@ -338,16 +363,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -364,27 +390,30 @@ - + + + + + + + + + + + - - - - - - - - - - + @@ -401,12 +430,13 @@ fork="true"> - + - + + @@ -450,13 +480,15 @@ access="${build.javadoc.access}" sourcepath="${src.dir}" classpath="" - executable="${javadoc9}"> + source="9" + executable="${build.main.javadoc}"> + @@ -505,18 +537,14 @@ - - - - @@ -576,8 +604,7 @@ - + description="Runs tck and jtreg tests for src/main"/> @@ -588,30 +615,34 @@ - - + - - - - - + + + + - - - - - + + + + - + + + + + + + + + - - - + @@ -657,12 +688,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -674,7 +704,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -682,9 +712,7 @@ - - @@ -710,14 +738,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -741,14 +767,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -764,7 +788,6 @@ - @@ -798,8 +821,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -842,9 +865,7 @@ - - @@ -860,13 +881,9 @@ + - - - - + - - - + - - - - + @@ -937,14 +945,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1035,38 +1026,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1105,13 +1076,9 @@ - - - - + @@ -1126,41 +1093,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1199,13 +1147,9 @@ - - - - + @@ -1220,42 +1164,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1294,13 +1218,9 @@ - - - - + @@ -1314,43 +1234,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1415,13 +1314,9 @@ - - - - + @@ -1435,16 +1330,11 @@ failonerror = "true"> - - - - + - - + @@ -1474,30 +1363,20 @@ + - - - - - + - + - - + @@ -1520,11 +1399,11 @@ + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1543,21 +1422,17 @@ fork="true"> - - - - - - - - - - + @@ -1577,30 +1452,61 @@ workdir="${build.dir}" classes="${product.jar}"> - - - - - - - - - - - + + + + + + + + + + + + +