[foreign] RFR 8211006: Add API points to support by-value semantics for structs and arrays
maurizio.cimadamore at oracle.com
Mon Sep 24 14:36:16 UTC 2018
Thanks - pushed (as discussed privately, I also updated the signatures
of the two new methods to be polymorphic in the array/struct type, to
enhance static safety).
On 24/09/18 14:50, Sundararajan Athijegannathan wrote:
> Looks good
> On 21/09/18, 8:47 PM, Maurizio Cimadamore wrote:
>> As written in the issue summary (see for more details):
>> We need API points to perform deep copy of structs/arrays, which
>> would allow developers to easily mimic what happens when operating on
>> struct/array struct fields.
>> I also did a minor tweak on References.ofArray, as the setter was
>> redundantly creating an Array object instead of just copying.
More information about the panama-dev