Rename Adoptium OpenJDK

This commit is contained in:
Steffen Lange 2021-08-02 16:40:21 +02:00
parent 0ab46443a9
commit 7bd8f9c7c3
3 changed files with 6 additions and 6 deletions

View file

@ -2,8 +2,8 @@
class AdoptiumOpenJDK8 extends PatchBase {
function __construct() {
parent::__construct('Adoptium', 'OpenJDK', 'https://adoptium.net/releases.html?variant=openjdk8&jvmVariant=hotspot');
$this->patch->setBranch('8');
parent::__construct('Eclipse Foundation', 'Adoptium OpenJDK', 'https://adoptium.net/releases.html?variant=openjdk8&jvmVariant=hotspot');
$this->patch->setBranch('Temurin 8');
}
function check() : bool {
if ($this->fetch_json('https://api.adoptium.net/v3/info/release_versions?heap_size=normal&image_type=jdk&page=0&page_size=10&project=jdk&release_type=ga&sort_method=DEFAULT&sort_order=DESC&vendor=adoptium&version=%5B8.0%2C8.1%29'))