-always- release the arrays, whatever is the iscopy boolean. According to the documentation, "The result is valid until the corresponding Release<PrimitiveType>ArrayElements() function is called". The iscopy boolean serve just for another case: "Since the returned array may be a copy of the Java array, changes made to the returned array will not necessarily be reflected in the original array until Release<PrimitiveType>ArrayElements() is called.Since the returned array may be a copy of the Java array, changes made to the returned array will not necessarily be reflected in the original array until Release<PrimitiveType>ArrayElements() is called."
-always- release the arrays, whatever is the iscopy boolean. According to the documentation, "The result is valid until the corresponding Release<PrimitiveType>ArrayElements() function is called". The iscopy boolean serve just for another case: "Since the returned array may be a copy of the Java array, changes made to the returned array will not necessarily be reflected in the original array until Release<PrimitiveType>ArrayElements() is called.Since the returned array may be a copy of the Java array, changes made to the returned array will not necessarily be reflected in the original array until Release<PrimitiveType>ArrayElements() is called."

physion/pyjnius,physion/pyjnius,benson-basis/pyjnius,Konubinix/pyjnius,Konubinix/pyjnius,kivy/pyjnius,jk1ng/pyjnius,niavlys/pyjnius,kived/pyjnius,jaykwon/pyjnius,benson-basis/pyjnius,jelford/pyjnius,aolihu/pyjnius,kivy/pyjnius,aolihu/pyjnius,jelford/pyjnius,pombredanne/pyjnius,ibobalo/pyjnius,kivy/pyjnius,physion/pyjnius,niavlys/pyjnius,ibobalo/pyjnius,jaykwon/pyjnius,jk1ng/pyjnius,kived/pyjnius,pombredanne/pyjnius