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

Jorn Vernee jvernee at openjdk.org
Fri Oct 14 13:23:24 UTC 2022


On Fri, 14 Oct 2022 13:07:39 GMT, Per Minborg <duke at openjdk.org> wrote:

>> test/jdk/java/foreign/TestOfBufferIssue.java line 53:
>> 
>>> 51:     }
>>> 52: 
>>> 53: }
>> 
>> Watch out here missing newline
>
> Why do we need a newline there?

IIRC, unix file specification says that every line in a file should end with a newline. I believe this is also why GitHub warns about it.

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

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


More information about the panama-dev mailing list