JavaCall.jl
JavaCall.jl copied to clipboard
Ptr returned for double[][] return type
When I do an example method call where the return type is double[][], I get the following output
julia> jcall(obj, "getDoubles", Array{Array{jdouble, 1}, 1}, ())
Ptr{Void} @0x0000000008ff5340
As stated in the documentation, multidimensional arrays are currently not supported very well in JavaCall.
Basically, there needs to be convert_result function for 2D arrays, similar to the existing one for 1D arrays. If you need an immediate workaround, you could call the underlying JNI accessor routines directly.