RFR: 8304265: Implementation of Foreign Function and Memory API (Third Preview) [v16]
Maurizio Cimadamore
mcimadamore at openjdk.org
Fri Mar 31 12:16:22 UTC 2023
On Thu, 30 Mar 2023 11:28:25 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 two additional commits since the last revision:
>
> - Update src/java.base/share/classes/java/lang/foreign/MemorySegment.java
>
> Co-authored-by: Maurizio Cimadamore <54672762+mcimadamore at users.noreply.github.com>
> - Update src/java.base/share/classes/java/lang/foreign/MemorySegment.java
>
> Co-authored-by: Maurizio Cimadamore <54672762+mcimadamore at users.noreply.github.com>
The class `jdk/internal/javac/PreviewFeature.java` needs to be updated. It is currently referring JEP 434:
public enum Feature {
@JEP(number=433, title="Pattern Matching for switch", status="Fourth Preview")
SWITCH_PATTERN_MATCHING(),
@JEP(number=432, title="Record Patterns", status="Second Preview")
RECORD_PATTERNS,
@JEP(number=436, title="Virtual Threads", status="Second Preview")
VIRTUAL_THREADS,
@JEP(number=434, title="Foreign Function & Memory API", status="Second Preview")
FOREIGN, // <-----------------------------------
...
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13079#issuecomment-1491836954
More information about the build-dev
mailing list