[Java] Handle UInt5 array conversion