@@ -17,27 +17,17 @@ partial class Configurables
1717 {
1818 const string BinutilsVersion = "L_18.1.6-8.0.0" ;
1919
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" ;
2823
2924 static Context ctx => Context . Instance ;
3025
3126 public static partial class Urls
3227 {
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
4131 public static readonly Uri MicrosoftOpenJDK17 = new Uri ( $ "https://aka.ms/download-jdk/microsoft-jdk-{ MicrosoftOpenJDK17Version } -{ MicrosoftOpenJDKOperatingSystem } .{ MicrosoftOpenJDKFileExtension } ") ;
4232
4333 /// <summary>
@@ -59,10 +49,6 @@ public static partial class Defaults
5949 public static readonly Version MicrosoftOpenJDK17Release = new Version ( Configurables . MicrosoftOpenJDK17Release ) ;
6050 public static readonly string MicrosoftOpenJDK17RootDirName = Configurables . MicrosoftOpenJDK17RootDirName ;
6151
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-
6652 public const string DotNetTestRuntimeVersion = "3.1.11" ;
6753
6854 // Mono runtimes
@@ -216,11 +202,8 @@ public static partial class Paths
216202 public static string MonoAndroidFrameworksRootDir => GetCachedPath ( ref monoAndroidFrameworksRootDir , ( ) => Path . Combine ( XAInstallPrefix , MonoAndroidFrameworksSubDir ) ) ;
217203 public static string InstallMSBuildDir => GetCachedPath ( ref installMSBuildDir , ( ) => ctx . Properties . GetRequiredValue ( KnownProperties . MicrosoftAndroidSdkOutDir ) ) ;
218204
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" ) ) ;
224207 public static string OpenJDK17InstallDir => GetCachedPath ( ref openJDK17InstallDir , ( ) => Path . Combine ( ctx . Properties . GetRequiredValue ( KnownProperties . AndroidToolchainDirectory ) , "jdk-17" ) ) ;
225208 public static string OpenJDK17CacheDir => GetCachedPath ( ref openJDK17CacheDir , ( ) => ctx . Properties . GetRequiredValue ( KnownProperties . AndroidToolchainCacheDirectory ) ) ;
226209
@@ -302,8 +285,8 @@ static string GetCachedPath (ref string? variable, Func<string> creator)
302285 static string ? installMSBuildDir ;
303286 static string ? monoAndroidFrameworksRootDir ;
304287 static string ? externalJavaInteropDir ;
305- static string ? openJDK8InstallDir , openJDK17InstallDir ;
306- static string ? openJDK8CacheDir , openJDK17CacheDir ;
288+ static string ? openJDK17InstallDir ;
289+ static string ? openJDK17CacheDir ;
307290 static string ? oldOpenJDKInstallDir ;
308291 static string ? configurationPropsGeneratedPath ;
309292 static string ? windowsBinutilsInstallDir ;
0 commit comments