Hi all,

I load a DLL using JNI. Because I'm still in development phase, I use
"dev:watch" to automatically update my bundle in the container.

I understood that this results in an exception: "UnsatisfiedLinkError:
Native Library xyz already loaded in another classloader" - because the DLL
is already loaded by the JVM.

I also understood that only after the classloader that loaded the DLL is
garbage collected, the DLL is unloaded.

So I uninstalled the bundle - yet I still get the UnsatisfiedLinkError
exception. Which means the classloader is still alive.

Shouldn't the bundles classloader be gone once I uninstalled the bundle?

cheers,
Frizz

Reply via email to