diff options
author | Sven Gothel <[email protected]> | 2019-08-19 20:11:43 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-19 20:11:43 +0200 |
commit | 2d89df89453c099d4e357aa17eae88efcf1d1b70 (patch) | |
tree | 7cef8134880f472a738e2eb683692253b09a07e6 /make/build.xml | |
parent | c63b81c1660f65804b058d1af1b66949b06390df (diff) |
Bug 1363: Java 11: Document Java8 target constraints; Fix one odd compile issue
Document Java8 target constraints, i.e. where we need to set source, target and bootclasspath
to ensure target runtime Java8 compliance.
Fix one odd compile issue!
Using two theorethical identical GNU/Linux Debian 10 machines with same set of installed software,
one passes (like MacOS, Windows) and one fails.
The failure was due to the CStructAnnotationProcessor's @SupportedSourceVersion tag.
This downgrades the SourceVersion's previous bump from 6->11 (commit 610493b1724b5d91327f478338ff5d029bdcc032)
down to 8.
Interesting times ..
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index ae91df5..12531ea 100644 --- a/make/build.xml +++ b/make/build.xml @@ -772,6 +772,7 @@ original source in multiple stages below. --> <!-- Compile gluegen-rt first including generation of native headers --> + <!-- This has a hard Java8 target spec requirement: source, target + bootclasspath --> <javac destdir="${classes}" includeAntRuntime="false" includes="${gluegen-rt.classes} ${jogamp.common.classes}" @@ -801,6 +802,7 @@ </copy> <!-- Compile gluegen (compile time). --> + <!-- This has a soft Java8 bytecote target only (Using some build time APIs): target --> <javac destdir="${classes}" includeAntRuntime="true" excludes="${gluegen.excludes.all} ${gluegen-rt.classes} ${java.part.android}" @@ -1002,6 +1004,7 @@ <target name="gluegen.build.android" if="android-jars.available"> <!--compile gluegen-rt-android last--> + <!-- This has a hard Java8 target spec requirement: source, target + bootclasspath --> <javac destdir="${classes}" includeAntRuntime="false" includes="${gluegen-rt.classes} ${jogamp.common.classes}" @@ -1138,6 +1141,7 @@ </target> <target name="android-launcher.build" depends="gluegen.cpptasks.detect.os,gluegen.build.check.android-launcher" if="android-jars.available" unless="gluegen.build.skip.android-launcher"> + <!-- This has a hard Java8 target spec requirement: source, target + bootclasspath --> <javac destdir="${classes}" includeAntRuntime="false" includes="${jogamp-android-launcher.classes}" |