I have applet that contains method:
public void send(byte[] arr) {
... //some code
}
But when I call this method from JS I get the error:
java.lang.IllegalArgumentException: No method found matching name send and arguments [sun.plugin2.main.client.MessagePassingJSObject]
If I set send method argument to String and then pass string argument from JS to applet, then it`s ok. No warnings.
How to pass array from JS to java method correctly?