Skip to content

Commit

Permalink
Merge pull request #217 from xamarin/dev/tondat/main-openjdkms
Browse files Browse the repository at this point in the history
Update OpenJDK location for OpenJDK17 on windows
  • Loading branch information
MSLukeWest authored Sep 19, 2023
2 parents 9c50a2d + 42bbef8 commit 8a971d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class MicrosoftOpenJdkLocations : JdkLocations {
internal static IEnumerable<JdkInfo> GetMicrosoftOpenJdks (Action<TraceLevel, string> logger)
{
return GetMacOSSystemJdks ("microsoft-*.jdk", logger)
.Concat (GetWindowsFileSystemJdks (Path.Combine ("Android", "openjdk", "jdk-*"), logger))
.Concat (GetWindowsFileSystemJdks (Path.Combine ("Microsoft", "jdk-*"), logger))
.Concat (GetWindowsRegistryJdks (logger, @"SOFTWARE\Microsoft\JDK", "*", @"hotspot\MSI", "Path"))
.OrderByDescending (jdk => jdk, JdkInfoVersionComparer.Default);
Expand Down

0 comments on commit 8a971d9

Please sign in to comment.