I'm trying to build a plugin that uses JNA and I noticed that ES already has JNA as a dependency so I excluded it from my build configuration and the installation works. However during runtime I keep getting an error saying:
java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
Which leads me to think that maybe ES needs some higher permissions to allow me to use JNA. Can anyone help me?