diff --git a/test/Arrays.java b/test/Arrays.java index e00bbf5688..42e958068a 100644 --- a/test/Arrays.java +++ b/test/Arrays.java @@ -87,12 +87,12 @@ public class Arrays { expect(! java.util.Arrays.equals(b, new Object[4])); expect(! java.util.Arrays.equals(a, null)); expect(! java.util.Arrays.equals(null, b)); - expect(java.util.Arrays.equals(null, null)); + expect(java.util.Arrays.equals((Object[])null, (Object[])null)); b[0] = a[0]; expect(java.util.Arrays.equals(a, b)); java.util.Arrays.hashCode(a); - java.util.Arrays.hashCode(null); + java.util.Arrays.hashCode((Object[])null); } } }