diff options
author | Sven Gothel <[email protected]> | 2019-08-19 09:38:02 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-19 09:38:02 +0200 |
commit | 2ea5948b6133c4dc82533f9ce4a8fd56eb04eda2 (patch) | |
tree | acdea0fa49bcf8866970cbb606192f688a7750a9 /make/build-newt.xml | |
parent | 63e31d05ad9f1df99663997c2f04ad086f29c8fc (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-newt.xml')
-rw-r--r-- | make/build-newt.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/make/build-newt.xml b/make/build-newt.xml index ef4fcd2ab..9b0c94ec7 100644 --- a/make/build-newt.xml +++ b/make/build-newt.xml @@ -256,6 +256,7 @@ encoding="UTF-8" source="${target.sourcelevel}" target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <classpath refid="jogl_nativewindow_gluegen.classpath"/> <include name="jogamp/newt/driver/kd/WindowDriver.java" /> @@ -272,6 +273,7 @@ encoding="UTF-8" source="${target.sourcelevel}" target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <classpath refid="jogl_nativewindow_gluegen.classpath"/> <include name="jogamp/newt/driver/intel/gdl/DisplayDriver.java" /> @@ -290,6 +292,7 @@ encoding="UTF-8" source="${target.sourcelevel}" target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <classpath refid="jogl_nativewindow_gluegen.classpath"/> <include name="jogamp/newt/driver/bcm/egl/WindowDriver.java" /> @@ -306,6 +309,7 @@ encoding="UTF-8" source="${target.sourcelevel}" target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <classpath refid="jogl_nativewindow_gluegen.classpath"/> <include name="jogamp/newt/driver/bcm/vc/iv/DisplayDriver.java" /> @@ -324,6 +328,7 @@ encoding="UTF-8" source="${target.sourcelevel}" target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <classpath refid="jogl_nativewindow_gluegen.classpath"/> <include name="jogamp/newt/driver/windows/WindowDriver.java" /> @@ -342,6 +347,7 @@ encoding="UTF-8" source="${target.sourcelevel}" target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <classpath refid="jogl_nativewindow_gluegen.classpath"/> <include name="jogamp/newt/driver/macosx/WindowDriver.java" /> @@ -360,6 +366,7 @@ encoding="UTF-8" source="${target.sourcelevel}" target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <classpath refid="jogl_nativewindow_gluegen.classpath"/> <include name="jogamp/newt/driver/x11/WindowDriver.java" /> @@ -377,6 +384,7 @@ encoding="UTF-8" source="${target.sourcelevel}" target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <src path="${src.java}" /> <classpath refid="jogl_nativewindow_gluegen.classpath"/> @@ -396,6 +404,7 @@ encoding="UTF-8" source="${target.sourcelevel}" target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <classpath refid="jogl_nativewindow_gluegen_android.classpath"/> <include name="jogamp/newt/driver/android/WindowDriver.java" /> @@ -409,6 +418,7 @@ encoding="UTF-8" source="${target.sourcelevel}" target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <src path="${src.java}" /> <classpath refid="jogl_nativewindow_gluegen_android.classpath"/> |