[jsscripting] Dropping/Updating JAR bundle causes UnsatisfiedLinkError: Native library already loaded in another classloader
#18054
Labels
bug
An unexpected problem or unintended behavior of an add-on
Updating the JS Scripting JAR bundle in the
addons
folder causes the following exception:I thought this could be solved by OSGi-ifying the Graal dependencies, so that only one bundle loading that native library is active.
This will also be required or at least nice to have when having a GraalPython add-on.
For this, I created openhab/openhab-osgiify#57.
Unfortunately, I am not able to OSGI-ify truffle-api and truffle-runtime (see the linked PR) due to unresolved requirements, that seem like circular dependencies.
Next, I have created #18053 to try make use of the OSGi-ified GraalVM Polyglot dependency, but this fails with:
The text was updated successfully, but these errors were encountered: