[Git][java-team/website][master] 2 commits: Watch the Java 10 releases instead of Java 9

Emmanuel Bourg gitlab at salsa.debian.org
Fri May 4 14:02:43 BST 2018


Emmanuel Bourg pushed to branch master at Debian Java Maintainers / website


Commits:
7861350d by Emmanuel Bourg at 2018-05-04T14:55:28+02:00
Watch the Java 10 releases instead of Java 9

- - - - -
f759b626 by Emmanuel Bourg at 2018-05-04T14:55:57+02:00
Fixed a typo

- - - - -


1 changed file:

- public/checkjdk.php


Changes:

=====================================
public/checkjdk.php
=====================================
--- a/public/checkjdk.php
+++ b/public/checkjdk.php
@@ -4,12 +4,12 @@
 $JDK6_DOWNLOAD_URL="http://hg.openjdk.java.net/jdk6/jdk6/tags";
 $JDK7_DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javaseproducts/documentation/javase7supportreleasenotes-1601161.html";
 $JDK8_DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html";
-$JDK9_DOWNLOAD_URL="https://jdk9.java.net/download/";
+$JDK10_DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html";
 
 $JAVA6_VERSION = trim(shell_exec("/usr/bin/wget -qO- $JDK6_DOWNLOAD_URL | /bin/sed -n 's/.*\jdk\(6-b[0-9]\+\).*/\\1/p' | /usr/bin/head -n 1"));
 $JAVA7_VERSION = trim(shell_exec("/usr/bin/wget -qO- $JDK7_DOWNLOAD_URL | /bin/sed -n 's/.*\([7]\(u[0-9]\+\)\?-b[0-9]\+\).*/\\1/p' | /usr/bin/head -n 1"));
 $JAVA8_VERSION = trim(shell_exec("/usr/bin/wget -qO- $JDK8_DOWNLOAD_URL | /bin/sed -n 's/.*\([8]\(u[0-9]\+\)\?-b[0-9]\+\).*/\\1/p' | /usr/bin/head -n 1"));
-$JAVA9_VERSION = trim(shell_exec("/usr/bin/wget -qO- $JDK9_DOWNLOAD_URL | /bin/sed -n 's/.*\([9]-ea.\([0-9]\+\)\?\).*/9+\\2/p' | /usr/bin/head -n 1"));
+$JAVA10_VERSION = trim(shell_exec("/usr/bin/wget -qO- $JDK10_DOWNLOAD_URL | /bin/sed -n 's/.*jdk\/\(10[\.0-9]\++[0-9]\+\).*/\\1/p' | /usr/bin/head -n 1"));
 
 ?>
 
@@ -26,13 +26,13 @@ $JAVA9_VERSION = trim(shell_exec("/usr/bin/wget -qO- $JDK9_DOWNLOAD_URL | /bin/s
 
 <p>This page tracks the latest versions of Java released by Oracle. Note that
 for a given update the Mercurial repository on the OpenJDK site will always
-show more recent build numbers. Since they do no map to an actual release
+show more recent build numbers. Since they do not map to an actual release
 they are ignored.</p>
 
 <p>Latest Java releases:</p>
 
 <ul>
-  <li><a href="http://hg.openjdk.java.net/jdk9/jdk9/archive/jdk-<?= $JAVA9_VERSION ?>.tar.gz">Java <?= $JAVA9_VERSION ?></a></li>
+  <li><a href="http://hg.openjdk.java.net/jdk-updates/jdk10u/archive/jdk-<?= $JAVA10_VERSION ?>.tar.gz">Java <?= $JAVA10_VERSION ?></a></li>
   <li><a href="http://hg.openjdk.java.net/jdk8u/jdk8u/archive/jdk<?= $JAVA8_VERSION ?>.tar.gz">Java <?= $JAVA8_VERSION ?></a></li>
   <li><a href="http://hg.openjdk.java.net/jdk7u/jdk7u/archive/jdk<?= $JAVA7_VERSION ?>.tar.gz">Java <?= $JAVA7_VERSION ?></a></li>
   <li><a href="http://hg.openjdk.java.net/jdk6/jdk6/archive/jdk<?= $JAVA6_VERSION ?>.tar.gz">Java <?= $JAVA6_VERSION ?></a></li>



View it on GitLab: https://salsa.debian.org/java-team/website/compare/fd7b894684135f3b213cc16bd7be80ae059974b6...f759b626b29e897d97af088ed16f1ee65384a707

---
View it on GitLab: https://salsa.debian.org/java-team/website/compare/fd7b894684135f3b213cc16bd7be80ae059974b6...f759b626b29e897d97af088ed16f1ee65384a707
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20180504/c0438db8/attachment.html>


More information about the pkg-java-commits mailing list