The package name COM.newmonics.PercClassLoader, used as part of classes loaded in PercSerializationInstantiator is misspelled in pom.xml (L vs l):
|
COM.newmonics.PercClassloader;resolution:=optional, |
This causes the Objenesis bundle to not resolve in OSGi context (i.e. the bundle cannot be resolved by Bnd in bndrun files because COM.newmonics.PercClassLoader is not marked as optional, only misspelled COM.newmonics.PercClassloader).
Of course it might be the other way around, and PercSerializationInstantiator needs fixing. :)
BTW, there are more Class.forName() usage in the code, which should be marked as optional (e.g. android.os). I work with OSGi, so I can assist if you need help.
The package name
COM.newmonics.PercClassLoader, used as part of classes loaded inPercSerializationInstantiatoris misspelled inpom.xml(Lvsl):objenesis/main/pom.xml
Line 63 in fe9a3a2
This causes the Objenesis bundle to not resolve in OSGi context (i.e. the bundle cannot be resolved by Bnd in bndrun files because
COM.newmonics.PercClassLoaderis not marked as optional, only misspelledCOM.newmonics.PercClassloader).Of course it might be the other way around, and
PercSerializationInstantiatorneeds fixing. :)BTW, there are more
Class.forName()usage in the code, which should be marked as optional (e.g.android.os). I work with OSGi, so I can assist if you need help.