[Libreoffice-commits] core.git: configure.ac

Michael Stahl (via logerrit) logerrit at kemper.freedesktop.org
Sun May 12 07:36:16 UTC 2019


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2ae92ea44ceea43004f7d98cc6c767c8b16455ac
Author:     Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Sat May 11 21:27:51 2019 +0200
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Sun May 12 09:35:08 2019 +0200

    configure: javac 1.8 does not have --add-exports
    
    ... hence it will print a pointless warning about some problem that
    doesn't affect JDK 8 anyway.
    
    Change-Id: Ic7669950dbb16815c85e4b8eb9d07d75c68d1b82
    Reviewed-on: https://gerrit.libreoffice.org/72172
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>

diff --git a/configure.ac b/configure.ac
index 3a2b3c4c1b12..79416d79ecdb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7516,7 +7516,7 @@ if test -n "$ENABLE_JAVA" -a -z "$JAVAINC"; then
 fi
 SOLARINC="$SOLARINC $JAVAINC"
 
-if test "$ENABLE_JAVA" != "" -a "x" != "x$JAVACOMPILER"; then
+if test "$ENABLE_JAVA" != "" -a "x" != "x$JAVACOMPILER" -a "$_jdk_ver" -ge 10900; then
     url_check_unknown=0
     java_base="testurlcheck"
     java_src="${java_base}.java"


More information about the Libreoffice-commits mailing list