You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
0 commit comments