This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new 84ec65abbd jna.nosys is required so that JNA tries to load native library via System#loadLibrary new c8de2fc95b Merge pull request #4736 from matthiasblaesing/load_jna_from_exploded_binaries 84ec65abbd is described below commit 84ec65abbdb38e3550765129ae9d70cd2d3945b7 Author: Matthias Bläsing <mblaes...@doppel-helix.eu> AuthorDate: Wed Oct 5 19:22:13 2022 +0200 jna.nosys is required so that JNA tries to load native library via System#loadLibrary Without it the embedded native library is always used. --- platform/libs.jna/src/org/netbeans/libs/jna/Installer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/libs.jna/src/org/netbeans/libs/jna/Installer.java b/platform/libs.jna/src/org/netbeans/libs/jna/Installer.java index 95b7f3ff02..56e8f031d5 100644 --- a/platform/libs.jna/src/org/netbeans/libs/jna/Installer.java +++ b/platform/libs.jna/src/org/netbeans/libs/jna/Installer.java @@ -27,5 +27,6 @@ public class Installer extends ModuleInstall { super.validate(); //#211655 System.setProperty( "jna.boot.library.name", "jnidispatch-nb" ); //NOI18N + System.setProperty( "jna.nosys", "false" ); //NOI18N } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists