aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-08-19 09:38:02 +0200
committerSven Gothel <[email protected]>2019-08-19 09:38:02 +0200
commit2ea5948b6133c4dc82533f9ce4a8fd56eb04eda2 (patch)
treeacdea0fa49bcf8866970cbb606192f688a7750a9 /make/build-test.xml
parent63e31d05ad9f1df99663997c2f04ad086f29c8fc (diff)
Bug 1363: Java 11: bring back bootclasspath for java 8 target accuracy
Was removed mostly via commit 63e31d05ad9f1df99663997c2f04ad086f29c8fc We have 2 choices building for java8 under java11: 1) use source, target and bootclasspath options 2) use release option It is said that (2) is not yet accurate enough and (1) shall be favored as it guarantees no java>8 class leak from the build JDK. This patch is isolated to allow removal of said bootclasspath if desired by anybody
Diffstat (limited to 'make/build-test.xml')
-rw-r--r--make/build-test.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index df25c5a09..0b1c62d44 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -115,6 +115,7 @@
encoding="UTF-8"
source="${target.sourcelevel}"
target="${target.targetlevel}"
+ bootclasspath="${target.rt.jar}"
debug="${javacdebug}" debuglevel="${javacdebuglevel}">
<classpath refid="junit_jogl_newt.compile.classpath"/>
<src path="${src.test}" />
@@ -130,6 +131,7 @@
encoding="UTF-8"
source="${target.sourcelevel}"
target="${target.targetlevel}"
+ bootclasspath="${target.rt.jar}"
debug="${javacdebug}" debuglevel="${javacdebuglevel}">
<classpath refid="junit_jogl_newt_oculusvr.compile.classpath"/>
<src path="${src.test}" />
@@ -170,6 +172,7 @@
encoding="UTF-8"
source="${target.sourcelevel}"
target="${target.targetlevel}"
+ bootclasspath="${target.rt.jar}"
debug="${javacdebug}" debuglevel="${javacdebuglevel}">
<classpath refid="junit_jogl_newt_android.compile.classpath"/>
<src path="${src.test}" />