Project Panama & dynamic library loading

Mark Raynsford org.openjdk at io7m.com
Mon Sep 16 17:06:41 UTC 2019


On 2019-09-16T17:53:54 +0100
Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
>
> Interestingly, your comment on splitting artifacts by platform (not to 
> have to bundle too many native libs in the same artifact) seems to point 
> _against_ the notion of a multi-platform jar.
> 

To be clear: The normal LWJGL artifacts have separate jars for
per-platform natives. In OSGi, however, it's more typical to bundle all
native libraries into the same ... bundle ... so I did this when I
produced them.

We have a set of Maven POMs here that repackage the existing LWJGL jars
into conventional OSGi bundles:

  https://github.com/LWJGL/lwjgl3-osgi

These are very much not an integral part of LWJGL (as Ioannis said:
LWJGL knows nothing about OSGi), they're developed and maintained
separately because I need OSGi support.

--
Mark Raynsford | http://www.io7m.com



More information about the panama-dev mailing list