From 189f8ede61afea66ea14f7402dac10381a98c9ca Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 18 Aug 2019 03:38:25 +0200 Subject: Bug 1363: Java 11: Fix javadoc invocation, drop -source 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. --- make/scripts/make.gluegen.all.linux-x86_64.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'make/scripts') 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" \ -- cgit v1.2.3