Skip to content

JDK-20 support #243

Open
Open

Description

@mhjort

Should this library support JDK-20? With JDK-19 everything works. However, when upgrading to JDK-20 I get following error:

Caused by: java.lang.ClassNotFoundException: jdk.incubator.foreign.MemoryAddress

Activity

  1. cnuernber commented on Jun 17, 2023

    @cnuernber
    Collaborator

    yes it should - jdk-20 has same foreign iface as jdk-19 so I guess the system is loading the wrong bindings.

  2. sbenhaim commented on Jul 20, 2023

    @sbenhaim

    In JDK 20, jdk.incubator.foreign.MemoryAddress has been moved to java.lang.foreign.MemorySegment.

    https://www.jrebel.com/blog/java-20-features

  3. cnuernber commented on Jul 20, 2023

    @cnuernber
    Collaborator

    JDK-20 changed the API again. I would rather wait for the next long term release than keep updating. If someone wants to take a crack at it you need to fix it in dtype-next. Here is a reasonable place to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions