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
Here's the class to inspect: public static String encodeEncry(String jsonObject) throws UnsupportedEncodingException {
Here's the js code:
varres=null;// global var to get resrpc.exports={// BE CAREFUL: Do not use uppercase characters in exported function name (automatically converted lowercase by Pyro)myenc: function(param){Java.perform(function(){varendec_class=Java.use("xxx.TransDataEncry");//res = "121212"; // got resvarmyinstance=endec_class.$new();res=myinstance.encodeEncry("123123123");});returnres;},}
Here's the class to inspect:
public static String encodeEncry(String jsonObject) throws UnsupportedEncodingException {
Here's the js code:
Here's the exception from the console:
Thank you!
The text was updated successfully, but these errors were encountered: