Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xds: Fix test compilation for confused javac
The internal build fails with "reference to assertThat is ambiguous". It isn't clear why the internal build fails while the external one is okay, but it is clear that the wildcard T return of readOutbound() is probably confusing things as javac is considering assertThat(BigDecimal) as a possible match. The T return type is a hidden, convenience cast. We force the type passed to assertThat() to be Object to avoid any ambiguity.
- Loading branch information