Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5295

Use foreign function API from Java 22 for mongocrypt integration

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • Client Side Encryption
    • None

    Description

      Java 22 introduces the foreign function API as a replacement for JNI.  The driver currently uses JNA (which wraps JNI) to call C functions in mongocrypt shared library.

      We should consider replacing this with the foreign function API.

      POC here: https://github.com/mongodb/libmongocrypt/compare/java-ffa-experiment

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: