aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-staticglgen.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-staticglgen.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-staticglgen.xml')
-rw-r--r--make/build-staticglgen.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/make/build-staticglgen.xml b/make/build-staticglgen.xml
index 69785abee..697a52399 100644
--- a/make/build-staticglgen.xml
+++ b/make/build-staticglgen.xml
@@ -34,7 +34,8 @@
memoryMaximumSize="${javac.memorymax}"
encoding="UTF-8"
source="${target.sourcelevel}"
- target="${target.targetlevel}">
+ target="${target.targetlevel}"
+ bootclasspath="${target.rt.jar}">
<classpath refid="antlr.classpath" />
</javac>
@@ -59,7 +60,8 @@
memoryMaximumSize="${javac.memorymax}"
encoding="UTF-8"
source="${target.sourcelevel}"
- target="${target.targetlevel}">
+ target="${target.targetlevel}"
+ bootclasspath="${target.rt.jar}">
<src path="${src.java}" />
<classpath refid="classpath" />
</javac>