Bump jna from 4.5.1 to 5.0.0 (#12)
Bump jna from 4.5.1 to 5.0.0 (#12)

Bumps [jna](https://github.com/java-native-access/jna) from 4.5.1 to 5.0.0.
<details>
<summary>Changelog</summary>

*Sourced from [jna's changelog](https://github.com/java-native-access/jna/blob/master/CHANGES.md).*

> Release 5.0.0
> =============
> 
> Features
> --------
> * [#975](https://github-redirect.dependabot.com/java-native-access/jna/pull/982): Add package versions to OSGi metadata. - [[**io7m**](https://github.com/io7m)](https://github.com/io7m).
> * [#915](https://github-redirect.dependabot.com/java-native-access/jna/pull/915): Adding interfaces to call to Cryptui and Crypt32 windows libraries and adding related structures to Wincrypt. - [[**rosh89**](https://github.com/rosh89)](https://github.com/rosh89).
> * [#903](https://github-redirect.dependabot.com/java-native-access/jna/pull/903): Carry `HRESULT` in `c.s.j.p.win32.COM.COMException`, introduce `c.s.j.p.win32.COM.COMInvokeException` as subclass of `COMException` for exception as the result of a `IDispatch#Invoke`. The `EXECPINFO` is unwrapped into fields in the `COMInvokeException` and correctly freed. - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#822](https://github-redirect.dependabot.com/java-native-access/jna/issues/822): `Native#loadLibrary` requires that the interface class passed in is an instance of Library. The runtime check can be enhanced by using a constraint generic. This breaks binary compatibility (see notes below) - [[**d-noll**](https://github.com/d-noll)](https://github.com/d-noll).<br /><br />In a followup, the original `loadLibrary` methods were deprecated and `Native#load` methods were introduced, that hold the new generic definitions. So this change is now binary compatible.
> * [#889](https://github-redirect.dependabot.com/java-native-access/jna/issues/889): The `Structure#newInstance` receive the target type as a parameter. This adds a limited generic type, so that the return type ist the target type and not a generic structure, removing the necessity to do an explizit cast - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#913](https://github-redirect.dependabot.com/java-native-access/jna/issues/913): Add `[**ComInterface**](https://github.com/ComInterface)` annotation to `com.sun.jna.platform.win32.COM.util.IConnectionPoint` to make it possible to retrieve it via `IUnknown#queryInterface` - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#797](https://github-redirect.dependabot.com/java-native-access/jna/issues/797): Binding `Advapi32#EnumDependendServices`, `Advapi32#EnumServicesStatusEx` and `Advapi32#QueryServiceStatus`. `W32Service#stopService` was modified to be more resilent when stopping service - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * Bind `com.sun.jna.platform.win32.Kernel32.ExpandEnvironmentStrings` and add helper method for it as `Kernel32Util#expandEnvironmentStrings` - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#935](https://github-redirect.dependabot.com/java-native-access/jna/pull/935): Add RegConnectRegistry to Advapi32 mappings. - [[**cxcorp**](https://github.com/cxcorp)](https://github.com/cxcorp).
> * [#947](https://github-redirect.dependabot.com/java-native-access/jna/pull/947):  Allow retrieval of `ACEs` from `com.sun.jna.platform.win32.WinNT.ACL` even if the contained `ACE` is not currently supported - [[**jrobhoward**](https://github.com/jrobhoward)](https://github.com/jrobhoward).
> * [#954](https://github-redirect.dependabot.com/java-native-access/jna/pull/954): Add `c.s.j.Structure.FieldOrder` annotation to define the field order of a structures without implementing `Structure#getFieldOrder()` - [[**idosu**](https://github.com/idosu)](https://github.com/idosu).
> * [#959](https://github-redirect.dependabot.com/java-native-access/jna/pull/959): Added `GetProcessTimes` and `GetProcessIoCounters` to `com.sun.jna.platform.win32.Kernel32` - [[**dbwiddis**](https://github.com/dbwiddis)](https://github.com/dbwiddis).
> * [#952](https://github-redirect.dependabot.com/java-native-access/jna/issues/952): Added `CreateMutex`, `OpenMutex` and `ReleaseMutex` to `com.sun.jna.platform.win32.Kernel32` - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#973](https://github-redirect.dependabot.com/java-native-access/jna/issues/973): Added `PdhLookupPerfNameByIndex`, `PdhLookupPerfIndexByName`, and `PdhEnumObjectItems` to `c.s.j.platform.win32.Pdh` and a `c.s.j.platform.win32.PdhUtil` class to access them - [[**dbwiddis**](https://github.com/dbwiddis)](https://github.com/dbwiddis).
> * [#980](https://github-redirect.dependabot.com/java-native-access/jna/issues/980): Added `PERF_OBJECT_TYPE`, `PERF_COUNTER_BLOCK`, and `PERF_COUNTER_DEFINITION` to `c.s.j.platform.win32.WinPerf` and added `Pointer` constructors to ``PERF_INSTANCE_DEFINITION` and `PERF_DATA_BLOCK` - [[**dbwiddis**](https://github.com/dbwiddis)](https://github.com/dbwiddis).
> * [#981](https://github-redirect.dependabot.com/java-native-access/jna/issues/981): Added `WTS_PROCESS_INFO_EX`, `WTSEnumerateProcessesEx`, and `WTSFreeMemoryEx` to `c.s.j.platform.win32.Wtsapi32` - [[**dbwiddis**](https://github.com/dbwiddis)](https://github.com/dbwiddis).
> * [#983](https://github-redirect.dependabot.com/java-native-access/jna/issues/983): Added `GetIfEntry`, `GetIfEntry2`, and `GetNetworkParams` and supporting structures `MIB_IFROW`, `MIB_IF_ROW2`, and `FIXED_INFO` to `c.s.j.platform.win32.IPHlpAPI.java` - [[**dbwiddis**](https://github.com/dbwiddis)](https://github.com/dbwiddis).
> * [#984](https://github-redirect.dependabot.com/java-native-access/jna/issues/984): Added `CM_Locate_DevNode`, `CM_Get_Parent`, `CM_Get_Child`, `CM_Get_Sibling`, `CM_Get_Device_ID`, and `CM_Get_Device_ID_Size` to `c.s.j.platform.win32.Cfgmgr32.java` and a `c.s.j.platform.win32.Cfgmgr32Util` class for `CM_Get_Device_ID` - [[**dbwiddis**](https://github.com/dbwiddis)](https://github.com/dbwiddis).
> * [#988](https://github-redirect.dependabot.com/java-native-access/jna/issues/988): Added `PdhLookupPerfIndexByEnglishName` to `c.s.j.platform.win32.PdhUtil` - [[**dbwiddis**](https://github.com/dbwiddis)](https://github.com/dbwiddis).
> * [#992](https://github-redirect.dependabot.com/java-native-access/jna/pull/992): Improve stability of windows tests and add appveyor configuration for windows CI builds - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#995](https://github-redirect.dependabot.com/java-native-access/jna/pull/995): Added structures and methods to `c.s.j.platform.mac.SystemB` for Process, Network interface, Swapfile, Time, and Filesystem info - [[**dbwiddis**](https://github.com/dbwiddis)](https://github.com/dbwiddis).
> * [#997](https://github-redirect.dependabot.com/java-native-access/jna/issues/997): Added `Sysinfo` structure and function to `c.s.j.platform.linux.LibC` - [[**dbwiddis**](https://github.com/dbwiddis)](https://github.com/dbwiddis).
> * [#1001](https://github-redirect.dependabot.com/java-native-access/jna/pull/1001): Added overloads to `c.s.j.platform.win32.Advapi32Util` methods which allow the caller to specify `samDesiredExtra` to request additional registry key security and access rights - [[**camw**](https://github.com/camw)](https://github.com/camw).
> * [#1007](https://github-redirect.dependabot.com/java-native-access/jna/pull/1007): Added OSGi export of Solaris package - [[**swimmesberger**](https://github.com/swimmesberger)](https://github.com/swimmesberger).
> * [#1003](https://github-redirect.dependabot.com/java-native-access/jna/pull/1003): Allow `NativeMapped` to be used with enums - [[**koraktor**](https://github.com/koraktor)](https://github.com/koraktor).
> * [#994](https://github-redirect.dependabot.com/java-native-access/jna/issues/994): Added `CoInitializeSecurity` and `CoSetProxyBlanket` to `c.s.j.platform.win32.Ole32`, added new `c.s.j.platform.win32.Wbemcli` classes needed to query WMI, and added a `WbemcliUtil` class implementing WMI queries. - [[**dbwiddis**](https://github.com/dbwiddis)](https://github.com/dbwiddis).
> * [#1013](https://github-redirect.dependabot.com/java-native-access/jna/pull/1013): Add automatic module name entries to manifest of jna and jna-platform - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#985](https://github-redirect.dependabot.com/java-native-access/jna/issues/985): Improve handling of dynamicaly extracted native library. On Mac OS X systems `~/Library/Application Support/JNA/temp` and on other Unix like systems `$XDG_CACHE_DIR/JNA/temp` (Default value is: `~/.cache/JNA/temp`) is used - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * Bind `com.sun.jna.platform.win32.Kernel32#ExitProcess` - [[**Groostav**](https://github.com/Groostav)](https://github.com/Groostav).
> 
> Bug Fixes
> ---------
> * [#652](https://github-redirect.dependabot.com/java-native-access/jna/issues/652): Dead Lock in class initialization - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#843](https://github-redirect.dependabot.com/java-native-access/jna/pull/843): Correctly bind `com.sun.jna.platform.win32.SecBufferDesc` and add convenience binding as `com.sun.jna.platform.win32.SspiUtil.ManagedSecBufferDesc`. Bind SSPI functions `InitializeSecurityContext`, `AcceptSecurityContext`, `QueryCredentialsAttributes`, `QuerySecurityPackageInfo`, `EncryptMessage`, `DecryptMessage`, `MakeSignature`, `VerifySignature` in `com.sun.jna.platform.win32.Secur32` - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#863](https://github-redirect.dependabot.com/java-native-access/jna/pull/863): Fix ARM softfloat/hardfloat detection by modifying armSoftFloat condition in ELFAnalyser. Before this fix a softfloat binary could be misdetected as hardfloat. - [[**kunkun26**](https://github.com/kunkun26)](https://github.com/kunkun26).
> * [#867](https://github-redirect.dependabot.com/java-native-access/jna/issues/867): Fix memory leak in `COMLateBindingObject#getStringProperty` - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#871](https://github-redirect.dependabot.com/java-native-access/jna/issues/871): Fix mapping of libc function `gethostname`, `sethostname`, `getdomainname` and `setdomainname` and bind `com.sun.jna.platform.win32.Winsock2.gethostname(byte[], int)` - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#876](https://github-redirect.dependabot.com/java-native-access/jna/pull/876): Restore java 6 compatibility - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#882](https://github-redirect.dependabot.com/java-native-access/jna/pull/882): Correctly close file in `ELFAnalyser#runDetection`, fix suggested by [[**Sylvyrfysh**](https://github.com/Sylvyrfysh)](https://github.com/Sylvyrfysh) in [#880](https://github-redirect.dependabot.com/java-native-access/jna/pull/880) - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#887](https://github-redirect.dependabot.com/java-native-access/jna/issues/887): MacFileUtils.moveToTrash() doesn't work in a sandboxed app fix suggested by [[**sobakasu**](https://github.com/sobakasu)](https://github.com/sobakasu) - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#894](https://github-redirect.dependabot.com/java-native-access/jna/issues/894): NullPointerException can be caused by calling `com.sun.jna.platform.win32.COM.util.ProxyObject#dispose` multiple times - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#925](https://github-redirect.dependabot.com/java-native-access/jna/issues/925): Optimize `Structure#validate` and prevent `ArrayIndexOutOfBoundsException` in `SAFEARRAY#read` for zero dimensions - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#340](https://github-redirect.dependabot.com/java-native-access/jna/issues/340): Guard registry handling against out-of-bounds reads by ensuring all read strings are NULL terminated - [[**matthiasblaesing**](https://github.com/matthiasblaesing)](https://github.com/matthiasblaesing).
> * [#902](https://github-redirect.dependabot.com/java-native-access/jna/issues/902): Allow building JNA on JDK 10. `javah` 
>   was removed from the JDK and `javac` is now used to create the necessary headers. 
></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`1d3de07`](https://github.com/java-native-access/jna/commit/1d3de07a9d00f1422d8ad4f4d1c8269ff1e40052) Release 5.0.0
- [`3919db9`](https://github.com/java-native-access/jna/commit/3919db9849047d82ea5786e45678cb486261a883) Address javadoc warnings (production build is done on Oracle JDK 8u181)
- [`0463bc0`](https://github.com/java-native-access/jna/commit/0463bc0504efd29f07c5d22ec7c6be56b358ac77) Update documentation/paths
- [`50000fe`](https://github.com/java-native-access/jna/commit/50000fe9676df63b724f85a7660cc92907ad26a3) Merge branch 'kernel32-exitprocess'
- [`9171190`](https://github.com/java-native-access/jna/commit/91711907a68c866769b6252637b08dba61a0b1e9) Add ExitProcess to c.s.j.platform.win32.Kernel32
- [`088ad82`](https://github.com/java-native-access/jna/commit/088ad8299553ad5cfd6aba5369a2219fb973da4c) Merge pull request [#1013](https://github-redirect.dependabot.com/java-native-access/jna/issues/1013) from matthiasblaesing/optimize_library_loading
- [`fe02b87`](https://github.com/java-native-access/jna/commit/fe02b87dd26caef78004ba2a94c138b11234b612) [#985] Improve handling of dynamicaly extracted native library.
- [`d6289ec`](https://github.com/java-native-access/jna/commit/d6289eca9959661b7715e14821f3e64c7fc0d2e2) [#384] Make jna.nosys=true default
- [`c1fa86f`](https://github.com/java-native-access/jna/commit/c1fa86f7a0b736a8104d0a926fc9f2f3af48bb04) Merge pull request [#1016](https://github-redirect.dependabot.com/java-native-access/jna/issues/1016) from matthiasblaesing/module-name
- [`f168d6d`](https://github.com/java-native-access/jna/commit/f168d6dbd0aee25db0aae4d9452a56d4843d136f) Add Automatic-Module-Name to jna and jna-platform jar
- Additional commits viewable in [compare view](https://github.com/java-native-access/jna/compare/4.5.1...5.0.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=net.java.dev.jna:jna&package-manager=maven&previous-version=4.5.1&new-version=5.0.0)](https://dependabot.com/compatibility-score.html?dependency-name=net.java.dev.jna:jna&package-manager=maven&previous-version=4.5.1&new-version=5.0.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
rnorth/visible-assertions,rnorth/visible-assertions