Skip to content

Commit

Permalink
Allow running on Java 17 without --enable-future-java (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored May 25, 2022
1 parent ee3ab91 commit 416f402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemd/jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ check_java_version() {

if [ -z "${java_version}" ]; then
return 1
elif [ "${java_version}" != "11" ] && [ "${java_version}" != "1.8" ]; then
elif [ "${java_version}" != "17" ] && [ "${java_version}" != "11" ] && [ "${java_version}" != "1.8" ]; then
return 1
else
return 0
Expand Down

0 comments on commit 416f402

Please sign in to comment.