Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarin.Android.Tools.AndroidSdk] Add JdkInfo.GetSupportedJdkInfos() (…
…#142) Context: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1415418 Visual Studio needs to know the list of supported JDKs, so that it can appropriately compare and display them to the user as part of a "reset to defaults" experience. The list of "supported" JDKs was formerly provided by the *`internal`* `JdkInfo.GetPreferredJdkInfos()` method. Rename `JdkInfo.GetPreferredJdkInfos()` to `JdkInfo.GetSupportedJdkInfos()`, and make `public`. The rename is done to reduce ambiguity over what the "preferred" *means*, so that in public APIs it only means "whatever the user has previously selected, as per the Windows Registry/`monodroid-config.xml`/etc.
- Loading branch information