title: Error linking JNA library on AdoptOpenJDK on MacOS
body: <p>I am trying to run some JUnit tests over cassandra. But I get the following error: </p>
  
  <pre><code>[08/12/19 10:48:40:411](main)([]) INFO  - c.h.c.c.e.EmbeddedCassandra - Starting embedded Cassandra server.
  8/12/19 10:48:41:497](main)([]) ERROR - o.a.c.u.NativeLibraryDarwin - Failed to link the C library against JNA. Native methods will be unavailable.
  java.lang.UnsatisfiedLinkError: /private/var/folders/ty/wl4gxf352m328101m101hwh40000gn/T/jna--321969061/jna10641195286884112036.tmp: dlopen(/private/var/folders/ty/wl4gxf352m328101m101hwh40000gn/T/jna--321969061/jna10641195286884112036.tmp, 1): no suitable image found.  Did find:
      /private/var/folders/ty/wl4gxf352m328101m101hwh40000gn/T/jna--321969061/jna10641195286884112036.tmp: code signature in (/private/var/folders/ty/wl4gxf352m328101m101hwh40000gn/T/jna--321969061/jna10641195286884112036.tmp) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
  </code></pre>
  
  <p>It was running well until I changed to mac mojave and re-setup everything. I think it is an issue related to permissions may be or JNA?</p>
  
  <p>IDE: IntelliJ
  Java: AdoptOpenJDK 11.0.4
  JNA: 4.2.2</p>
  
  <p>Any kind of help will be highly appreciated!</p>