Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] fix for Xamarin.Android.Tools.Bytecode-Tests
Context: dotnet/android#978 When bumping java.interop in xamarin-android, a test failure occurred in the `ClassPath.GetDocletType` method. This was added in dotnet#188, but since `ANDROID_SDK_PATH` is not set during java.interop’s test runs the test was skipped. The incoming `path` can be a directory, so the `File.OpenText` call will fail in that case. Added a `File.Exists` check as a fix.
- Loading branch information