diff --git a/classpath/java/util/Arrays.java b/classpath/java/util/Arrays.java index e640acec33..9f2ef702c5 100644 --- a/classpath/java/util/Arrays.java +++ b/classpath/java/util/Arrays.java @@ -343,7 +343,43 @@ public class Arrays { array[i] = value; } } - + + public static void fill(short[] array, short value) { + for (int i=0;i void fill(T[] array, T value) { for (int i=0;i