--- jsr166/build.xml 2017/03/26 22:25:20 1.240 +++ jsr166/build.xml 2017/09/25 22:54:09 1.254 @@ -18,12 +18,10 @@ 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 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 @@ -32,7 +30,7 @@ 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. ------------------------------------------------------------------------------ @@ -183,15 +181,15 @@ - - - - - - - + + + + + + + - + @@ -298,6 +296,12 @@ + + + + + + @@ -321,7 +325,6 @@ - @@ -343,8 +346,8 @@ workDir="@{workdir}/JTwork"> - - + + @@ -369,7 +372,16 @@ - + + + + + + + + + + - - - - - - - - - - + @@ -409,12 +412,13 @@ fork="true"> - + - + + @@ -458,13 +462,15 @@ access="${build.javadoc.access}" sourcepath="${src.dir}" classpath="" - executable="${javadoc9}"> + source="9" + executable="${build.main.javadoc}"> + @@ -513,18 +519,14 @@ - - - - @@ -584,8 +586,7 @@ - + description="Runs tck and jtreg tests for src/main"/> @@ -596,22 +597,23 @@ - - + - - - - - + + + + - - - - - + + + + - + + + + @@ -663,12 +665,11 @@ - + description="Compiles all the perf tests in src/test/loops"> @@ -680,7 +681,7 @@ includeAntRuntime="false" includeJavaRuntime="false" encoding="ASCII" - executable="${javac9}" + executable="${build.main.javac}" fork="true"> @@ -688,9 +689,7 @@ - - @@ -716,14 +715,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -747,14 +744,12 @@ encoding="ASCII" executable="${javac8}" fork="true"> - - @@ -770,7 +765,6 @@ - @@ -804,8 +798,7 @@ - + description="Runs tck and jtreg tests for jsr166-4jdk8"/> @@ -848,9 +842,7 @@ - - @@ -866,13 +858,9 @@ + - - - - + - - - + - - - - + @@ -943,14 +922,9 @@ - - - - + - - + - - + + - - - - - - + @@ -1041,38 +1003,24 @@ + - - - - - + - - - + - - + - - - + + - - - - - + @@ -1111,13 +1053,9 @@ - - - - + @@ -1132,41 +1070,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - + + - - - - + @@ -1205,13 +1124,9 @@ - - - - + @@ -1226,42 +1141,27 @@ failonerror = "true"> - + - - - - - + - - - + - + - - - - + + - - - - + @@ -1300,13 +1195,9 @@ - - - - + @@ -1320,43 +1211,30 @@ executable="${javadoc7}"> - + - - - - - + - - - + - + - + + - - + - - - - - - - + @@ -1421,13 +1291,9 @@ - - - - + @@ -1441,16 +1307,11 @@ failonerror = "true"> - - - - + - - + @@ -1480,30 +1340,20 @@ + - - + - - - - + - - + @@ -1526,11 +1376,11 @@ + + description="Run errorprone over jsr166 source code (experimental)"> @@ -1549,21 +1399,17 @@ fork="true"> - - - - - - - - - - + @@ -1583,24 +1429,20 @@ workdir="${build.dir}" classes="${product.jar}"> - - - - - - - - - - - + @@ -1660,8 +1502,8 @@ - + jvm="${build.main.java}" fork="true"> +