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

Mongo Encryption Library in a GraalVm Native application

    • Type: Icon: Question Question
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Labels:
      None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Summary

      I am currently trying to use the Mongo Encryption Library in a GraalVm Native application but I can't get it to work.

      I've learned that due to the fact LibMongoCrypt is a Native Library, GraalVm might not load it correctly because of it's AOT Compilation.
      AOT Compilation aims to create a single executable containing every needed component and dependency and given the fact these native libraries are loaded at runtime, GraalVm may not be able to correctly add it and therefore won't work.

       

      First and foremost, can you confirm this ? And if so, is this something that will be added in the near future ?

       

      Thanks !!

            Assignee:
            Unassigned Unassigned
            Reporter:
            dmiguel.am@gmail.com Diogo Marques
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: