-
Hey folks, I'm upgrading a library from 0.19 to 0.21 and am having issues with a function returning an array of strings:
The specific error:
Following the suggestion doesn't get me anywhere:
These appear to be the last holdouts for my upgrade and I'm not sure what to do about them. I checked the migration docs but nothing seems to cover the case of creating and returning a Java array. Thanks a bunch for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Have you tried using |
Beta Was this translation helpful? Give feedback.
Have you tried using
env.set_object_array_element(&array, ...)
in the loop? I think a shared reference should be sufficient there, because the type of that method argument isAsRef
.