Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map String[][] error #12

Open
kymowang opened this issue Jun 11, 2017 · 3 comments
Open

Map String[][] error #12

kymowang opened this issue Jun 11, 2017 · 3 comments

Comments

@kymowang
Copy link

error message:
failed to map: 'xxData=new String[p.length][q.length]'.
I have tried to add mapType("java.lang.String[][]", "System.String[][]"); and mapType("[[Ljava.lang.String", "System.String[][]"); to configuration, but neither works. Is there any way to ignore the error if no simple solution?

@oising
Copy link

oising commented Aug 12, 2017

I came here to ask the same thing, except with ERROR: <unknown>:1814: failed to map: 'new int[width][height]

@oising
Copy link

oising commented Aug 12, 2017

@kymowang I figured out through examing the sharpen source that you can add @sharpen.ignore to any method's javadoc and sharpen will skip over that method.

@hazzik
Copy link

hazzik commented Apr 29, 2020

this is because multi-dimensional sparse arrays are supported only with constant lengths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants