-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Build with Microsoft OpenJDK 21.0.5 (#9683)
Context: #9651 Context: 14a6bfb Context: df68c20 As of 14a6bfb, main/.NET 10 supports both JDK 17 and 21. The default version that VS and the `InstallAndroidDependencies` target will install is currently JDK 17, though we may want to upgrade this to JDK 21 as we move further into the .NET 10 cycle. In order to increase our JDK test coverage across versions, the macOS, Windows, and Linux build stages have been updated to install and build with Microsoft OpenJDK 21.0.5. The nightly test jobs have also been updated to use JDK 21, while all other test jobs will continue to use JDK 17. JDK 11 support was removed in df68c20, though customers should be able to add: `<MinimumSupportedJavaVersion>11.0</MinimumSupportedJavaVersion>` to their project files to use it. Some test coverage for this exists in [ValidateJavaVersionTests][0], but this is not fully tested end to end. [0]: https://github.com/dotnet/android/blob/766ac338446f99129168dc02a16669882f6bd34e/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/ValidateJavaVersionTests.cs
- Loading branch information
Showing
8 changed files
with
35 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters