AdoptOpenJDK has moved

This commit is contained in:
Steffen Lange 2021-10-24 00:44:07 +02:00
parent 3d925c1cd1
commit 7e88989fb2
3 changed files with 0 additions and 45 deletions

View file

@ -1,15 +0,0 @@
<?php
class AdoptOpenJDK11 extends PatchBase {
function __construct() {
parent::__construct('AdoptOpenJDK', 'OpenJDK', 'https://adoptopenjdk.net/releases.html?variant=openjdk11&amp;jvmVariant=hotspot');
$this->patch->setBranch('JRE 11');
}
function check() : bool {
if ($this->fetch_json('https://api.adoptopenjdk.net/v2/info/releases/openjdk11?release=latest&openjdk_impl=hotspot&type=jre&os=windows&arch=x64'))
return $this->parse_json('openjdk_version');
return false;
}
}
?>

View file

@ -1,15 +0,0 @@
<?php
class AdoptOpenJDK16 extends PatchBase {
function __construct() {
parent::__construct('AdoptOpenJDK', 'OpenJDK', 'https://adoptopenjdk.net/releases.html?variant=openjdk16&amp;jvmVariant=hotspot');
$this->patch->setBranch('JRE 16');
}
function check() : bool {
if ($this->fetch_json('https://api.adoptopenjdk.net/v2/info/releases/openjdk16?release=latest&openjdk_impl=hotspot&type=jre&os=windows&arch=x64'))
return $this->parse_json('openjdk_version');
return false;
}
}
?>

View file

@ -1,15 +0,0 @@
<?php
class AdoptOpenJDK8 extends PatchBase {
function __construct() {
parent::__construct('AdoptOpenJDK', 'OpenJDK', 'https://adoptopenjdk.net/releases.html?variant=openjdk8&amp;jvmVariant=hotspot');
$this->patch->setBranch('JRE 8');
}
function check() : bool {
if ($this->fetch_json('https://api.adoptopenjdk.net/v2/info/releases/openjdk8?release=latest&openjdk_impl=hotspot&type=jre&os=windows&arch=x64'))
return $this->parse_json('openjdk_version');
return false;
}
}
?>