* [Java] Fixed bug in native client generation when API accepts array of files (#16055) * Adding test for java native client * Updated samples