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

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Mar 19 11:02:29 UTC 2020


On Thu, 19 Mar 2020 04:22:30 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

>> Adding utility methods to ForeignUnsafe class.
>
> Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last
> revision:
>   * renamed makeNativeString as toCString
>   * added Charset accepting variant for toCString
>   * fixed test to compare PATH value with System.getenv("PATH")

Added comment on test

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

PR: https://git.openjdk.java.net/panama-foreign/pull/55


More information about the panama-dev mailing list