--- jsr166/build.xml 2017/03/26 22:25:20 1.240 +++ jsr166/build.xml 2018/01/23 04:59:10 1.262 @@ -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 @@ + + @@ -298,6 +305,18 @@ + + + + + + + + + + + + @@ -321,11 +340,12 @@ - + + @@ -343,16 +363,17 @@ workDir="@{workdir}/JTwork"> - - + + - + + @@ -369,7 +390,16 @@ - + + + + + + + + + + - - - - - - - - - - + @@ -409,12 +430,13 @@ fork="true"> - + - + + @@ -458,13 +480,15 @@ access="${build.javadoc.access}" sourcepath="${src.dir}" classpath="" - executable="${javadoc9}"> + source="9" + executable="${build.main.javadoc}"> + @@ -513,18 +537,14 @@ - - - - @@ -584,8 +604,7 @@ - + description="Runs tck and jtreg tests for src/main"/> @@ -596,22 +615,28 @@ - - + - - - - - + + + + - - - - - + + + + - + + + + + + + + + @@ -663,12 +688,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -680,7 +704,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -688,9 +712,7 @@ - - @@ -716,14 +738,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -747,14 +767,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -770,7 +788,6 @@ - @@ -804,8 +821,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -848,9 +865,7 @@ - - @@ -866,13 +881,9 @@ + - - - - + - - - + - - - - + @@ -943,14 +945,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1041,38 +1026,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1111,13 +1076,9 @@ - - - - + @@ -1132,41 +1093,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - + - - + - - - - + @@ -1205,13 +1147,9 @@ - - - - + @@ -1226,42 +1164,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1300,13 +1218,9 @@ - - - - + @@ -1320,43 +1234,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1421,13 +1314,9 @@ - - - - + @@ -1441,16 +1330,11 @@ failonerror = "true"> - - - - + - - + @@ -1480,30 +1363,20 @@ + - - + - - - - + - - + @@ -1526,11 +1399,32 @@ + + + + + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1549,22 +1443,9 @@ fork="true"> - - - - - - - - - - + + ${errorprone.jsr166.flags}"/> @@ -1583,30 +1464,38 @@ workdir="${build.dir}" classes="${product.jar}"> - - - - - - - - - - - + + + + + + + + + + + + + + + +