@@ -28,12 +28,14 @@ public static void main(String[] args) {
28
28
29
29
static void checkAllOracleJDKs () {
30
30
System .out .println ();
31
- System .out .println ("// oracle.com - 17 - latest" );
32
- checkOracleJDK17 ("latest" );
31
+ System .out .println ("// oracle.com - latest" );
32
+ checkOracleJDK ("18" , "latest" );
33
+ checkOracleJDK ("17" , "latest" );
33
34
34
35
System .out .println ();
35
- System .out .println ("// oracle.com - 17 - archive" );
36
- Stream .of ("17" , "17.0.1" , "17.0.2" ).forEach (Test ::checkOracleJDK17 );
36
+ System .out .println ("// oracle.com - archive" );
37
+ Stream .of ("18" ).forEach (version -> checkOracleJDK ("18" , version ));
38
+ Stream .of ("17" , "17.0.1" , "17.0.2" ).forEach (version -> checkOracleJDK ("17" , version ));
37
39
}
38
40
39
41
static void checkAllJavaNetJDKs () {
@@ -58,12 +60,12 @@ static void checkAllJavaNetJDKs() {
58
60
checkJavaNetJDK ("valhalla" , "latest" );
59
61
}
60
62
61
- static void checkOracleJDK17 ( String version ) {
62
- checkJDK ("oracle.com" , new Download .JDK ("17" , version , "linux" , "aarch64" , "tar.gz" ));
63
- checkJDK ("oracle.com" , new Download .JDK ("17" , version , "linux" , "x64" , "tar.gz" ));
64
- checkJDK ("oracle.com" , new Download .JDK ("17" , version , "macos" , "aarch64" , "tar.gz" ));
65
- checkJDK ("oracle.com" , new Download .JDK ("17" , version , "macos" , "x64" , "tar.gz" ));
66
- checkJDK ("oracle.com" , new Download .JDK ("17" , version , "windows" , "x64" , "zip" ));
63
+ static void checkOracleJDK ( String release , String version ) {
64
+ checkJDK ("oracle.com" , new Download .JDK (release , version , "linux" , "aarch64" , "tar.gz" ));
65
+ checkJDK ("oracle.com" , new Download .JDK (release , version , "linux" , "x64" , "tar.gz" ));
66
+ checkJDK ("oracle.com" , new Download .JDK (release , version , "macos" , "aarch64" , "tar.gz" ));
67
+ checkJDK ("oracle.com" , new Download .JDK (release , version , "macos" , "x64" , "tar.gz" ));
68
+ checkJDK ("oracle.com" , new Download .JDK (release , version , "windows" , "x64" , "zip" ));
67
69
}
68
70
69
71
static void checkJavaNetJDK (String release , String version ) {
0 commit comments