[Libreoffice-commits] core.git: configure.ac
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Feb 12 12:54:38 UTC 2019
configure.ac | 19 ++-----------------
1 file changed, 2 insertions(+), 17 deletions(-)
New commits:
commit 204c5d1746c0afc145f9b54b68c4a099f9f0e2bf
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Tue Feb 5 09:37:46 2019 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Tue Feb 12 13:54:14 2019 +0100
Always set java bytecode / source target to 1.6 / 6
as our new baseline (as discussed in ESC call 2019-02-07)
Change-Id: I8a22fab6a1f9a713cb55b4c5d8173c3bbcd28587
Reviewed-on: https://gerrit.libreoffice.org/67387
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/configure.ac b/configure.ac
index 4881270656da..290288d7d56e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7097,7 +7097,6 @@ if test "$ENABLE_JAVA" != ""; then
fi
fi
-HAVE_JAVA9=
dnl ===================================================================
dnl Checks for JDK.
dnl ===================================================================
@@ -7149,9 +7148,6 @@ you must use the "--with-jdk-home" configure option explicitly])
if test "$_jdk_ver" -gt 10600; then
JAVA_CLASSPATH_NOT_SET=TRUE
fi
- if test "$_jdk_ver" -ge 10900; then
- HAVE_JAVA9=TRUE
- fi
AC_MSG_RESULT([checked (JDK $_jdk)])
JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
@@ -7174,23 +7170,12 @@ else
fi
dnl ===================================================================
-dnl Set target Java bytecode version
-dnl ===================================================================
-if test "$ENABLE_JAVA" != ""; then
- if test "$HAVE_JAVA9" = "TRUE"; then
- _java_target_ver="1.6"
- else
- _java_target_ver="1.5"
- fi
- JAVA_SOURCE_VER="$_java_target_ver"
- JAVA_TARGET_VER="$_java_target_ver"
-fi
-
-dnl ===================================================================
dnl Checks for javac
dnl ===================================================================
if test "$ENABLE_JAVA" != ""; then
javacompiler="javac"
+ JAVA_SOURCE_VER="1.6"
+ JAVA_TARGET_VER="1.6"
if test -z "$with_jdk_home"; then
AC_PATH_PROG(JAVACOMPILER, $javacompiler)
else
More information about the Libreoffice-commits
mailing list