On Thu, 30 Mar 2023 11:28:25 GMT, Per Minborg <pminb...@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+mcimadam...@users.noreply.github.com>
>  - Update src/java.base/share/classes/java/lang/foreign/MemorySegment.java
>    
>    Co-authored-by: Maurizio Cimadamore 
> <54672762+mcimadam...@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

Reply via email to