RFR: 8304265: Implementation of Foreign Function and Memory API (Third Preview) [v15]

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Mar 30 00:05:55 UTC 2023


On Wed, 29 Mar 2023 08:55:08 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> API changes for the FFM API (third preview)
>> 
>> Specdiff:
>> https://cr.openjdk.org/~pminborg/panama/21/v1/specdiff/overview-summary.html
>> 
>> Javadoc:
>> https://cr.openjdk.org/~pminborg/panama/21/v1/javadoc/java.base/module-summary.html
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Cleanup finality

src/java.base/share/classes/java/lang/foreign/MemorySegment.java line 396:

> 394:  *}
> 395:  *
> 396:  * Alternatively, if the size of the foreign segment is known statically, clients can associate a

Suggestion:

 * Alternatively, if the true size of the zero-length memory segment is known statically, clients can associate a

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13079#discussion_r1152602321


More information about the nio-dev mailing list