@@ -17,27 +17,17 @@ partial class Configurables
17
17
{
18
18
const string BinutilsVersion = "L_18.1.6-8.0.0" ;
19
19
20
- const string MicrosoftOpenJDK17Version = "17.0.8" ;
21
- const string MicrosoftOpenJDK17Release = "17.0.8.7" ;
22
- const string MicrosoftOpenJDK17RootDirName = "jdk-17.0.8+7" ;
23
-
24
- const string AdoptOpenJDKRelease = "8.0" ; // build_number.0
25
- static readonly string AdoptOpenJDKUrlVersion = $ "8u{ AdoptOpenJDKUpdate } { AdoptOpenJDKBuild } ";
26
- static readonly string AdoptOpenJDKTag = $ "jdk8u{ AdoptOpenJDKUpdate } -{ AdoptOpenJDKBuild } ";
27
- static readonly string AdoptOpenJDKVersion = $ "1.8.0.{ AdoptOpenJDKUpdate } ";
20
+ const string MicrosoftOpenJDK17Version = "17.0.11" ;
21
+ const string MicrosoftOpenJDK17Release = "17.0.11.9" ;
22
+ const string MicrosoftOpenJDK17RootDirName = "jdk-17.0.11+9" ;
28
23
29
24
static Context ctx => Context . Instance ;
30
25
31
26
public static partial class Urls
32
27
{
33
- // https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_x64_linux_hotspot_8u345b01.tar.gz
34
- // https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u332-b09/OpenJDK8U-jdk_x64_mac_hotspot_8u332b09.tar.gz
35
- // https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_x64_windows_hotspot_8u345b01.zip
36
- public static readonly Uri AdoptOpenJDK8 = new Uri ( $ "https://github.com/adoptium/temurin8-binaries/releases/download/{ AdoptOpenJDKTag } /OpenJDK8U-jdk_{ AdoptOpenJDKOperatingSystem } _hotspot_{ AdoptOpenJDKUrlVersion } .{ AdoptOpenJDKArchiveExtension } ") ;
37
-
38
- // https://aka.ms/download-jdk/microsoft-jdk-17.0.8-linux-x64.tar.gz
39
- // https://aka.ms/download-jdk/microsoft-jdk-17.0.8-macOS-x64.tar.gz
40
- // https://aka.ms/download-jdk/microsoft-jdk-17.0.8-windows-x64.zip
28
+ // https://aka.ms/download-jdk/microsoft-jdk-17.0.11-linux-x64.tar.gz
29
+ // https://aka.ms/download-jdk/microsoft-jdk-17.0.11-macOS-x64.tar.gz or https://aka.ms/download-jdk/microsoft-jdk-17.0.11-macos-aarch64.pkg
30
+ // https://aka.ms/download-jdk/microsoft-jdk-17.0.11-windows-x64.zip
41
31
public static readonly Uri MicrosoftOpenJDK17 = new Uri ( $ "https://aka.ms/download-jdk/microsoft-jdk-{ MicrosoftOpenJDK17Version } -{ MicrosoftOpenJDKOperatingSystem } .{ MicrosoftOpenJDKFileExtension } ") ;
42
32
43
33
/// <summary>
@@ -59,10 +49,6 @@ public static partial class Defaults
59
49
public static readonly Version MicrosoftOpenJDK17Release = new Version ( Configurables . MicrosoftOpenJDK17Release ) ;
60
50
public static readonly string MicrosoftOpenJDK17RootDirName = Configurables . MicrosoftOpenJDK17RootDirName ;
61
51
62
- public static readonly Version AdoptOpenJDK8Version = new Version ( Configurables . AdoptOpenJDKVersion ) ;
63
- public static readonly Version AdoptOpenJDK8Release = new Version ( Configurables . AdoptOpenJDKRelease ) ;
64
- public static readonly string AdoptOpenJDK8RootDirName = Configurables . AdoptOpenJDKTag ;
65
-
66
52
public const string DotNetTestRuntimeVersion = "3.1.11" ;
67
53
68
54
// Mono runtimes
@@ -216,11 +202,8 @@ public static partial class Paths
216
202
public static string MonoAndroidFrameworksRootDir => GetCachedPath ( ref monoAndroidFrameworksRootDir , ( ) => Path . Combine ( XAInstallPrefix , MonoAndroidFrameworksSubDir ) ) ;
217
203
public static string InstallMSBuildDir => GetCachedPath ( ref installMSBuildDir , ( ) => ctx . Properties . GetRequiredValue ( KnownProperties . MicrosoftAndroidSdkOutDir ) ) ;
218
204
219
- // AdoptOpenJDK
220
- public static string OldOpenJDKInstallDir => GetCachedPath ( ref oldOpenJDKInstallDir , ( ) => Path . Combine ( ctx . Properties . GetRequiredValue ( KnownProperties . AndroidToolchainDirectory ) , "jdk" ) ) ;
221
- public static string OpenJDK8InstallDir => GetCachedPath ( ref openJDK8InstallDir , ( ) => Path . Combine ( ctx . Properties . GetRequiredValue ( KnownProperties . AndroidToolchainDirectory ) , "jdk-1.8" ) ) ;
222
- public static string OpenJDK8CacheDir => GetCachedPath ( ref openJDK8CacheDir , ( ) => ctx . Properties . GetRequiredValue ( KnownProperties . AndroidToolchainCacheDirectory ) ) ;
223
-
205
+ // OpenJDK
206
+ public static string OldOpenJDKInstallDir => GetCachedPath ( ref oldOpenJDKInstallDir , ( ) => Path . Combine ( ctx . Properties . GetRequiredValue ( KnownProperties . AndroidToolchainDirectory ) , "jdk-1.8" ) ) ;
224
207
public static string OpenJDK17InstallDir => GetCachedPath ( ref openJDK17InstallDir , ( ) => Path . Combine ( ctx . Properties . GetRequiredValue ( KnownProperties . AndroidToolchainDirectory ) , "jdk-17" ) ) ;
225
208
public static string OpenJDK17CacheDir => GetCachedPath ( ref openJDK17CacheDir , ( ) => ctx . Properties . GetRequiredValue ( KnownProperties . AndroidToolchainCacheDirectory ) ) ;
226
209
@@ -302,8 +285,8 @@ static string GetCachedPath (ref string? variable, Func<string> creator)
302
285
static string ? installMSBuildDir ;
303
286
static string ? monoAndroidFrameworksRootDir ;
304
287
static string ? externalJavaInteropDir ;
305
- static string ? openJDK8InstallDir , openJDK17InstallDir ;
306
- static string ? openJDK8CacheDir , openJDK17CacheDir ;
288
+ static string ? openJDK17InstallDir ;
289
+ static string ? openJDK17CacheDir ;
307
290
static string ? oldOpenJDKInstallDir ;
308
291
static string ? configurationPropsGeneratedPath ;
309
292
static string ? windowsBinutilsInstallDir ;
0 commit comments