peculater opened a new pull request #42: TAMAYA-383 Let OSGi skip thread classloader key URL: https://github.com/apache/incubator-tamaya/pull/42 We use the thread's classloader as a key into a hashmap to find the serviceloader for a given configuration. In OSGi, we have separate classloaders for the CoreConfigurationBuilder, DefaultConfigurationBuilder, and ServiceContextManager. That confusion prevents the simple case from finding a match in the hashmap that can load a particular ServiceContext. Since CoreConfiguation/DefaultConfiguration already uses the static class's classloader during <init>, this PR allows the OSGIActivator to point that classloader at the relevant OSGIServiceContext. With these changes I was able to get the bundles to start in an Apache Karaf instance.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
