Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarin.Android.Build.Tasks] allow JDK 17 usage
Context: dotnet#8309 Context: https://learn.microsoft.com/java/openjdk/download#openjdk-17 Classic Xamarin.Android apps appear to work with JDK-17, just by doing: msbuild -r -bl -t:SignAndroidPackage -p:JavaSdkDirectory="C:\Program Files\Microsoft\jdk-17.0.8.101-hotspot" -p:LatestSupportedJavaVersion=17.99 I see log messages calling a JDK 17 `javac` like: _CompileJava: C:\Program Files\Microsoft\jdk-17.0.8.101-hotspot\bin\javac.exe -J-Dfile.encoding=UTF8 "@C:\Users\jopepper\AppData\Local\Temp\tmp119C.tmp" -target 1.8 -source 1.8 Update `$(LatestSupportedJavaVersion)` to allow usage of JDK 17.
- Loading branch information