| RE: [equinox-dev] Update/uninstall SWT application in Equinox gives UnsatisfiedLinkError |
Also see https://bugs.eclipse.org/bugs/show_bug.cgi?id=201700
Are you using SWT on top of Equinox or another OSGi Framework implementation? I would not expect issues on Equinox because we should be able to find the SWT libraries without the need of Bundle-NativeCode header. If you are seeing this issue while running on the Equinox framework then please open a bug against RT->Equinox->Framework (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox) and give steps to reprodice.
Note that you will need a different SWT fragment for each arch/os that you want to run SWT on because each SWT fragment contains the necessary native library for a different platform. Also note that updating bundles with native code is always a dicing situation in OSGi. Java VMs are notoriously bad at unloading native libraries loaded by custom class loaders (such as OSGi). Each time you update such a bundle that has loaded the native code you are likely leaving behind a loaded library in memory that probably will not go away. Eventually you WILL run out of memory.
Tom
Vidya Vadke ---08/27/2009 06:47:15 AM---Hi David,
From: | Vidya Vadke <vidya_vadke@xxxxxxxxxxxxxxxx> |
To: | Equinox development mailing list <equinox-dev@xxxxxxxxxxx> |
Date: | 08/27/2009 06:47 AM |
Subject: | RE: [equinox-dev] Update/uninstall SWT application in Equinox gives UnsatisfiedLinkError |
DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails._______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev