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
JDK 9 doesn't currently provide a robust and reliable user experience. Until we can provide a reliable experience, we should "fail early".
Steps to Reproduce
Setup your machine so that only JDK 9 is available.
Build a Xamarin.Android project
Expected Behavior
We should generate an error:
XA0030: Building with JDK 9 is not supported. Please install JDK 1.8: https://aka.ms/xamarin/jdk9-errors
Actual Behavior
We may or may not generate some "rando" failure somewhere else in the build or packaging process, which will result in my losing more of my hair.
MSBuild Property Control
For our own internal use, we'll want a way to disable the test. I propose making $(LatestSupportedJavaVersion) Conditional, and only emit the error if the JDK version is > $(LatestSupportedJavaVersion). This would allow one-off testing by setting that property on the command-line:
Activity
[Xamarin.Android.Build.Tasks] Generate error when JDK 9 is used
[Xamarin.Android.Build.Tasks] Generate error when JDK 9 is used (#1249)
[Xamarin.Android.Build.Tasks] Generate error when JDK 9 is used (#1249)
Bump to xamarin/monodroid/main@4fa11431
Bump to xamarin/monodroid/main@4fa11431
Bump to xamarin/monodroid/main@4fa11431 (#6963)
Bump to xamarin/monodroid@4fa11431 (#6963)