Fixed support for non-primitive array arguments in java methods.  Previously the stubs were being compiled ignoring that arguments are arrays.