[Integrated] [foreign-abi] RFR: 8241148: need a way to create MemorySegment with contents from java String and a way to read a C char* as java String

Athijegannathan Sundararajan sundar at openjdk.java.net
Thu Mar 19 13:03:12 UTC 2020


Changeset: 9ebefc6f
Author:    Athijegannathan Sundararajan <sundar at openjdk.org>
Date:      2020-03-19 13:02:36 +0000
URL:       https://git.openjdk.java.net/panama-foreign/commit/9ebefc6f

8241148: need a way to create MemorySegment with contents from java String and a way to read a C char* as java String

Reviewed-by: mcimadamore

! src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/unsafe/ForeignUnsafe.java
! test/jdk/java/foreign/StdLibTest.java
+ test/jdk/java/foreign/Test8241148.java


More information about the panama-dev mailing list