summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-06-13 07:42:58 +0200
committerSven Gothel <[email protected]>2019-06-13 07:42:58 +0200
commit5f9c1435ab06c7b620befa8677fc23080dac0ce2 (patch)
treef2b1e9f0bd8b28daf4777d0bb45ecaa2b43c0827 /make/build.xml
parent2a8c4d1cfa45794bc27358f3379f8c5bece74537 (diff)
Bug 1363: Java 11: Initial Host/Target Compiler Selection: Java8
Current requirements are: - Java 1.8 (Level 8.0) - Android SDK API level 24 (Version 7.0 Nougat, released August 2016) Official production builds are performed w/ Java 1.8. - Java 1.8 (Level 8.0) - Android SDK API level 24 (Version 7.0 Nougat, released August 2016) Android 7 API level 24 supports Java 1.8, see https://developer.android.com/studio/write/java8-support Java 8 is chosen today, June 2019, since OpenJDK 1.8 is well supported on desktop, mobile support is given w/ OpenJDK 9 and Android also support these language features for almost 3 years. ++++ Current patch does require one to set the target.sourcelevel, target.targetlevel and target.rt.jar properties or their equivalent capital case environment variables. Only allowed value is currently 1.8.
Diffstat (limited to 'make/build.xml')
-rw-r--r--make/build.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/make/build.xml b/make/build.xml
index 79ec607..147cbe7 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -54,7 +54,8 @@
<!-- property name="javadoc.link" value="http://java.sun.com/j2se/1.4.2/docs/api/" /-->
<!-- property name="javadoc.link" value="http://download.oracle.com/javase/1.5.0/docs/api/" /-->
- <property name="javadoc.link" value="http://docs.oracle.com/javase/6/docs/api/" />
+ <!-- property name="javadoc.link" value="http://docs.oracle.com/javase/6/docs/api/" /-->
+ <property name="javadoc.link" value="https://docs.oracle.com/javase/8/docs/api/" />
<!-- The source and build directories. -->
<property name="project.root" value=".." />
@@ -782,7 +783,7 @@
<!-- Compile gluegen (compile time).
- Uses host.rt.jar, since we require 'com.sun.tools.doclets.Taglet',
+ Uses target.rt.jar, since we require 'com.sun.tools.doclets.Taglet',
w/o it breaks build on OSX w/ Java6 compiler.
Surprisingly it works on other platforms, which seems to pick classes
outside of the 'bootclasspath'.
@@ -794,7 +795,7 @@
encoding="UTF-8"
source="${target.sourcelevel}"
target="${target.targetlevel}"
- bootclasspath="${host.rt.jar}"
+ bootclasspath="${target.rt.jar}"
debug="${javacdebug}" debuglevel="${javacdebuglevel}">
<src path="${src.jcpp}" />
<src path="${src.java}" />