OpenJDK: latest version 14 -> 15
This commit is contained in:
parent
1e5bde247a
commit
c361b2af8b
1 changed files with 4 additions and 4 deletions
|
|
@ -1,15 +0,0 @@
|
|||
<?php
|
||||
|
||||
class AdoptOpenJDK14 extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('AdoptOpenJDK', 'OpenJDK', 'https://adoptopenjdk.net/releases.html?variant=openjdk14&jvmVariant=hotspot');
|
||||
$this->patch->setBranch('JRE 14');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://api.adoptopenjdk.net/v2/info/releases/openjdk14?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