Oracle JDK 21 support (#538)

* Allow Oracle JDK 21 usage

* Fix tests

* Add Java 21 support in the documentation

---------

Co-authored-by: Ivan Zosimov <ivanzosimov@github.com>
This commit is contained in:
Julien Dubois 2023-12-14 14:46:05 +01:00 committed by GitHub
parent c0660d8edc
commit 3232623d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,11 @@ describe('findPackageForDownload', () => {
}); });
it.each([ it.each([
[
'21',
'21',
'https://download.oracle.com/java/21/latest/jdk-21_{{OS_TYPE}}-x64_bin.{{ARCHIVE_TYPE}}'
],
[ [
'20', '20',
'20', '20',