[foreign-memaccess+abi] RFR: 8294621: Copying from a StringCharBuffer-backed MemorySegment results in crash [v4]

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Oct 17 09:31:26 UTC 2022


On Mon, 17 Oct 2022 09:17:34 GMT, Per Minborg <duke at openjdk.org> wrote:

>> This PR prevents `StringCharBuffer` arguments in `MemorySegment::ofBuffer`.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use more general determination if backed by array

Marked as reviewed by mcimadamore (Committer).

-------------

PR: https://git.openjdk.org/panama-foreign/pull/741


More information about the panama-dev mailing list