Native Libraries: added API version to:

- test whether native library matches the JAR (bad builds could e.g. ship a newer JAR with an older incompatible native library)
- invoke a method (to get API version) to check whether native library works correctly

if API version do not match, or method could not invoked correctly, disable usage of FlatLaf native library

Windows and macOS binaries built and signed locally in clean workspace
Linux binary built by GitHub Actions
This commit is contained in:
Karl Tauber
2024-03-24 13:40:47 +01:00
parent 4e1f092b98
commit 32d102dbc9
19 changed files with 229 additions and 16 deletions

View File

@@ -15,6 +15,11 @@ FlatLaf Change Log
- `FlatSVGIcon` color filters now support linear gradients. (PR #817)
- Added support for `JSplitPane.expandableSide` client property to
`FlatSplitPane`.
- Native libraries: Added API version check to test whether native library
matches the JAR (bad builds could e.g. ship a newer JAR with an older
incompatible native library) and to test whether native methods can be invoked
(some security software allows loading native library but blocks method
invocation).
## 3.4