Switched to a regular array - javax had it wrong