Your Arrays2.fill method expects an Object array, two ints and a BooleanGenerator to be passed to it. You're only passing an array and BooleanGenerator.
Also, if you're not using Java 1.5, you cannot pass an array of boolean primitives to a method that is expecting an array of Objects. I think autoboxing in java 1.5 will handle this.
No, a boolean array is not an Object array, and won't be autoboxed. You'd have to pass an array of java.lang.Boolean, or implement another version that accepted a boolean[] .