8256152: tests fail because of ambiguous method resolution

Reviewed-by: psandoz
This commit is contained in:
Stuart Marks 2020-11-18 22:04:18 +00:00
parent 5912df2440
commit 646c20022c

View File

@ -66,7 +66,7 @@ public class DoubleNodeTest extends OpTestCase {
private static void assertEqualsListDoubleArray(List<Double> list, double[] array) {
assertEquals(list.size(), array.length);
for (int i = 0; i < array.length; i++)
assertEquals(array[i], list.get(i));
assertEquals(array[i], (double) list.get(i));
}
private List<Double> toList(double[] a) {