From 9c8bc6032b99daa0cd5eaf491569c88082c3c7f0 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Tue, 31 Oct 2023 23:45:29 +0100 Subject: [PATCH] Restore JDK 8 runtime compatibility, fixes #888 --- demo/jline-gogo.sh | 1 - pom.xml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/demo/jline-gogo.sh b/demo/jline-gogo.sh index c6c8325b1..7ba3ca9a8 100755 --- a/demo/jline-gogo.sh +++ b/demo/jline-gogo.sh @@ -102,7 +102,6 @@ echo "Launching Gogo JLine..." echo "Classpath: $cp" set mouse=a java -cp $cp \ - --enable-preview \ $opts \ -Dgosh.home="${DIRNAME}" \ -Djava.util.logging.config.file="${logconf}" \ diff --git a/pom.xml b/pom.xml index 1d06f9752..1b73adc9c 100644 --- a/pom.xml +++ b/pom.xml @@ -95,7 +95,7 @@ 2023-10-25T15:49:27Z 21 - 1.8 + 8 3.5.0 true @@ -417,7 +417,7 @@ 3.11.0 true - ${java.target.version} + ${java.target.version} -Xlint:all,-options,-processing -Werror