Hi,
I'm having a problem loading the OSGi Framework Security extension on
Android. I am trying to load Framework Security version 1.4.2 into Felix
version 3.2.2. The exception I get is: "Unable to add extension bundle
to FrameworkClassLoader - Maybe not an URLClassLoader?"
The exception comes from the Felix ExtensionManager, which attempts to
create its private instance by adding a new URL to the system class
loader, which is obtained from Felix.class.getClassLoader(). However,
since Android uses the PathClassLoader rather than a URLCLassLoader,
this fails - rendering the ExtensionManager inoperable.
Because of this, it appears to be impossible to load framework security
on Android at the moment. Does anyone have any ideas or workarounds?
Reference:
http://svn.apache.org/repos/asf/felix/branches/org.apache.felix.framework-3.0.8-RC/src/main/java/org/apache/felix/framework/ExtensionManager.java
Thanks,
Darren
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]