remove constraint that prevented creation of ObjectArray<Anything>
is this really right?
big improvements to Java wrappers