patch->setBranch('JRE 15'); } function check() : bool { if ($this->fetch('https://api.adoptopenjdk.net/v2/info/releases/openjdk15?release=latest&openjdk_impl=hotspot&type=jre&os=windows&arch=x64', true)) return $this->parse_json('openjdk_version'); return false; } } ?>