diff options
author | Sven Gothel <[email protected]> | 2019-08-18 03:38:25 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-18 03:38:25 +0200 |
commit | 189f8ede61afea66ea14f7402dac10381a98c9ca (patch) | |
tree | 4ac64e1f9112d7ce9acf453192f41ea767e58f4a /make/scripts | |
parent | 0577701f4d92c414dbfe6875f4319fd311e0106c (diff) |
Bug 1363: Java 11: Fix javadoc invocation, drop -source <release> for compile time javac
Also prepare the 'target.releaselevel' property to be set by 'RELEASE_LEVEL' environment,
however - we do not use it at this point.
For now, we build gluegen-rt using '-source 1.8' '-target 1.8'
and the bootclasspath of openjdk8 rt.jar to ensure java8 compatibility.
Alternatively one could use '--release 8' instead using the java11
distributed modules. However, I think the above method is more safe,
only allowing java8 rt.jar to be used for compilation.
Further, gluegen.jar is build using '-target 1.8' only,
since it musty use java11 sources at least for the javadoc taglet.
Diffstat (limited to 'make/scripts')
-rwxr-xr-x | make/scripts/make.gluegen.all.linux-x86_64.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/make/scripts/make.gluegen.all.linux-x86_64.sh b/make/scripts/make.gluegen.all.linux-x86_64.sh index 4d3ca6d..b0bbed7 100755 --- a/make/scripts/make.gluegen.all.linux-x86_64.sh +++ b/make/scripts/make.gluegen.all.linux-x86_64.sh @@ -13,10 +13,6 @@ fi # -DisLinuxAMD64=true \ # -DisX11=true \ # -# -Dtarget.sourcelevel=1.6 \ -# -Dtarget.targetlevel=1.6 \ -# -Dtarget.rt.jar=/opt-share/jre1.6.0_30/lib/rt.jar \ -# # -Dc.compiler.debug=true \ # -Djavacdebuglevel="source,lines,vars" \ |