--- jsr166/build.xml 2013/06/18 19:03:50 1.141 +++ jsr166/build.xml 2015/12/17 23:55:06 1.195 @@ -1,4 +1,5 @@ - + ------------------------------------------------------------------------------ @@ -16,22 +17,34 @@ $HOME/jdk/jdk6 $HOME/jdk/jdk7 $HOME/jdk/jdk8 + $HOME/jdk/jdk9 where each of the above is a JDK or a symlink to same, and $HOME/jdk/src/jdk6 $HOME/jdk/src/jdk7 $HOME/jdk/src/jdk8 + $HOME/jdk/src/jdk9 where each of the above is a complete JDK source tree (e.g. mercurial forest) or a symlink to same. -As of 2013-02, the very latest lambda 8 jdk is needed for jdk8. + + Alternatively, define ant variables thus: + ant -Djdk$N.home=... + for $N in 6 7 8 9 ... + + As of 2015-09, there is incomplete hacky support for jigsaw + Build for jigsaw using something like: + ant -Djdk9.home="$HOME/jdk/jigsaw" -Djdk9.src.dir="$HOME/jdk/src/jigsaw" clean test dist + "docs" target is still broken. ------------------------------------------------------------------------------ - + + + @@ -44,15 +57,6 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - - @@ -85,17 +89,25 @@ As of 2013-02, the very latest lambda 8 - + + + + + + - - + + - + @@ -114,13 +126,17 @@ As of 2013-02, the very latest lambda 8 + - + + + + @@ -154,39 +170,55 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - + + + + + + + + + + - - + + + + + + + - - - - - - + + - + + + + + + + - + + + @@ -215,11 +248,16 @@ As of 2013-02, the very latest lambda 8 failonerror="true" jvm="${java@{target}}" fork="true"> - + + - - - + + + + + + + @@ -229,30 +267,69 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + - - + + + - - + + + - + + @@ -268,6 +345,9 @@ As of 2013-02, the very latest lambda 8 + + + @@ -276,26 +356,45 @@ As of 2013-02, the very latest lambda 8 depends="configure-compiler" description="Compiles src/main sources to build dir"> - + + + + + + + + + + + + + + + + + + + + @@ -305,15 +404,14 @@ As of 2013-02, the very latest lambda 8 + + + + - - - @@ -325,18 +423,27 @@ As of 2013-02, the very latest lambda 8 + executable="${javadoc9}"> + + + + + + + + + @@ -360,6 +467,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -375,14 +486,12 @@ As of 2013-02, the very latest lambda 8 + - - - @@ -393,168 +502,78 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - + + + + + - + + + + + + + + + + + @@ -571,29 +590,6 @@ As of 2013-02, the very latest lambda 8 - - - - - - - - - - - - - - @@ -609,6 +605,7 @@ As of 2013-02, the very latest lambda 8 debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="${build.sourcelevel}" + target="${build.sourcelevel}" fork="true"> @@ -624,6 +621,32 @@ As of 2013-02, the very latest lambda 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -661,12 +716,16 @@ As of 2013-02, the very latest lambda 8 + + + + - @@ -677,18 +736,22 @@ As of 2013-02, the very latest lambda 8 + + + + - @@ -716,19 +779,18 @@ As of 2013-02, the very latest lambda 8 - + classes="${4jdk7product.jar}"/> @@ -741,7 +803,7 @@ As of 2013-02, the very latest lambda 8 + @@ -768,11 +831,6 @@ As of 2013-02, the very latest lambda 8 - - - - @@ -801,6 +859,7 @@ As of 2013-02, the very latest lambda 8 classpath="" bootclasspath="${bootclasspath6}" source="5" + target="5" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -809,6 +868,7 @@ As of 2013-02, the very latest lambda 8 + @@ -821,6 +881,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -834,12 +898,13 @@ As of 2013-02, the very latest lambda 8 + @@ -859,12 +924,6 @@ As of 2013-02, the very latest lambda 8 - - - - - @@ -890,6 +949,7 @@ As of 2013-02, the very latest lambda 8 debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" source="6" + target="6" classpath="" bootclasspath="${bootclasspath6}" includeAntRuntime="false" @@ -900,6 +960,7 @@ As of 2013-02, the very latest lambda 8 + @@ -912,6 +973,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -925,12 +990,13 @@ As of 2013-02, the very latest lambda 8 + @@ -950,11 +1016,6 @@ As of 2013-02, the very latest lambda 8 - - - - @@ -983,6 +1044,7 @@ As of 2013-02, the very latest lambda 8 bootclasspath="@{jsr166y.jar}:${bootclasspath6}" classpath="" source="6" + target="6" includeAntRuntime="false" includeJavaRuntime="false" executable="${javac7}" @@ -991,6 +1053,7 @@ As of 2013-02, the very latest lambda 8 + @@ -1003,6 +1066,10 @@ As of 2013-02, the very latest lambda 8 + + + + @@ -1016,12 +1083,13 @@ As of 2013-02, the very latest lambda 8 + @@ -1041,11 +1109,6 @@ As of 2013-02, the very latest lambda 8 - - - - @@ -1058,6 +1121,9 @@ As of 2013-02, the very latest lambda 8 + + + @@ -1069,21 +1135,51 @@ As of 2013-02, the very latest lambda 8 debug="${build.debug}" debuglevel="${build.debuglevel}" deprecation="${build.deprecation}" - source="7" + source="${build.jsr166e.java.version}" + target="${build.jsr166e.java.version}" classpath="" includeAntRuntime="false" includeJavaRuntime="false" - executable="${javac7}" + executable="${build.jsr166e.javac}" fork="true"> + + + + + + + + + + + + + + + + + + + + + @@ -1104,28 +1204,57 @@ As of 2013-02, the very latest lambda 8 + - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - @@ -1158,6 +1282,13 @@ As of 2013-02, the very latest lambda 8 + + + + + + +