-
Notifications
You must be signed in to change notification settings - Fork 256
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
no multidimensional array support #29
Comments
@flying-sheep could test this with the master version of jnius because there have been updates regarding this issue, you can install the lastest version of jnius using the following pip command if you have all the required pip libraries:
|
I tested earlier to see if your fixes had fixed it, and it seems that not. |
obviously. amirouche, one glance on i appreciate your work, but giving a detailed bugreport is also work, so plese treat it with respect and actually read what i wrote. |
True. |
Nice, thanks! |
testcase:
both errors shouldn’t happen, both are due to the fact that both
convert_pyarray_to_java
andconvert_jarray_to_python
can receive a definition starting with"["
, i.e. a multidimensional array. e.g. the above functiongetBankData
has the return type signature[[D
, soconvert_jarray_to_python(j_env, "[D", j_object)
is called and fails.an idea for
convert_jarray_to_python
would be to insert anotherelif r=="["
and callingconvert_jarray_to_python
recursively inside.The text was updated successfully, but these errors were encountered: