matthiasblaesing opened a new pull request, #6028: URL: https://github.com/apache/netbeans/pull/6028
OpenJFX JARs are not only OS, but also architecture specific. Before this change it was possible to load OpenJFX when the OS matched, but the architecture was wrong. This is fixed by adding the ability to depend on a CPU architecture to to the NetBeans module system. Similar to the `org.openide.modules.os.<OS>` tokens, a second set of tokens is provided as `org.openide.modules.arch.<ARCH>`. `<ARCH>` matches the value of `os.arch` which is in line with the naming convention for JNI library loading in NetBeans. The existing three OpenJFX modules were modified to require `org.openide.modules.arch.amd64` (Linux and Windows) or `org.openide.modules.arch.x86_64` (mac OS). As aarch64 gains traction the existing OpenJFX module set was completed by variants for Linux and mac OS Aarch64. Closes: #5985 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
