You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It‘s great!Thank you.But……there is still a small problem that when i send an int as an input parameter in Java class,the function and other functions behind it didn't work.They had done nothing.My own code just like this:
(MyJsClass.js)
MyJsClass.prototype.setaaa = function(i) {
console.log("i:"+i);
abc.aaa = i;
}
MyJsClass.prototype.showaaa = function() {
console.log(abc.aaa);
}
(IMyJsClass.java)
void setaaa(int i);
void showaaa();
(Main.java)
obj.setaaa(333);
obj.showaaa();
But when i send a String parameter,it‘s working normally.
I mean,i want to get the result from a java function,can this node-jvm do this?
The text was updated successfully, but these errors were encountered: