Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Could not find method with parameter "sun.nio.fs.UnixPath, [I" #590

Copy link
Copy link
@1037123498

Description

@1037123498
Issue body actions

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) {
//
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.