Skip to content

Commit 0bca7c6

Browse files
committed
Drop -ea as JDK 10 is now a release candidate
1 parent 9caa31d commit 0bca7c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/install/install-jdk.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ fi
7979
if [ "${JDK_FEATURE}" == '10' ]; then
8080
if [ "${JDK_BUILD}" == '?' ]; then
8181
TMP=$(curl -L jdk.java.net/${JDK_FEATURE})
82-
TMP="${TMP#*Most recent build: jdk-${JDK_FEATURE}-ea+}" # remove everything before the number
82+
TMP="${TMP#*Most recent build: jdk-${JDK_FEATURE}+}" # remove everything before the number
8383
TMP="${TMP%%<*}" # remove everything after the number
8484
JDK_BUILD="$(echo -e "${TMP}" | tr -d '[:space:]')" # remove all whitespace
8585
fi
8686

87-
JDK_ARCHIVE=${JDK_BASENAME}-${JDK_FEATURE}-ea+${JDK_BUILD}_linux-x64_bin.tar.gz
87+
JDK_ARCHIVE=${JDK_BASENAME}-${JDK_FEATURE}+${JDK_BUILD}_linux-x64_bin.tar.gz
8888
JDK_URL=${JDK_DOWNLOAD}/jdk${JDK_FEATURE}/archive/${JDK_BUILD}/${JDK_LICENSE}/${JDK_ARCHIVE}
8989
JDK_HOME=jdk-${JDK_FEATURE}
9090
fi

0 commit comments

Comments
 (0)