Remove abandoned OpenJDK versions
This commit is contained in:
parent
2a83cbf9c1
commit
534c4142d6
2 changed files with 0 additions and 28 deletions
|
|
@ -1,14 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
class AdoptOpenJDK12 extends PatchBase {
|
|
||||||
function __construct() {
|
|
||||||
parent::__construct('AdoptOpenJDK', 'OpenJDK JRE 12', 'https://adoptopenjdk.net/');
|
|
||||||
}
|
|
||||||
function check() : bool {
|
|
||||||
if ($this->fetch('https://api.adoptopenjdk.net/v2/info/releases/openjdk12?release=latest&openjdk_impl=hotspot&type=jre&os=windows&arch=x64', true))
|
|
||||||
return $this->parse_json('openjdk_version');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
class AdoptOpenJDK13 extends PatchBase {
|
|
||||||
function __construct() {
|
|
||||||
parent::__construct('AdoptOpenJDK', 'OpenJDK JRE 13', 'https://adoptopenjdk.net/');
|
|
||||||
}
|
|
||||||
function check() : bool {
|
|
||||||
if ($this->fetch('https://api.adoptopenjdk.net/v2/info/releases/openjdk13?release=latest&openjdk_impl=hotspot&type=jre&os=windows&arch=x64', true))
|
|
||||||
return $this->parse_json('openjdk_version');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue