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
Error: Could not find method "test2(sun.nio.fs.UnixPath, [I)" on class "class com.Argtest". Possible matches:
public void com.Argtest.test2(java.nio.file.Path,int[])
java code:
public class Argtest {
public void test(Path path) {
//
}
public void test2(Path path, int... a) {
//
}
}
The text was updated successfully, but these errors were encountered:
why did i get this error?
ts:
const target = '/path';
const Argtest = java.import('com.Argtest');
const targetPath = java.callStaticMethodSync('java.nio.file.Paths', 'get', target)
new Argtest().test2Sync(targetPath, java.newArray('int', [0]));
Error: Could not find method "test2(sun.nio.fs.UnixPath, [I)" on class "class com.Argtest". Possible matches:
public void com.Argtest.test2(java.nio.file.Path,int[])
java code:
public class Argtest {
public void test(Path path) {
//
}
public void test2(Path path, int... a) {
//
}
}
The text was updated successfully, but these errors were encountered: