Fix bug where ActorSystems created via OsgiActorSystemFactory(ctx).createActorSystem fail to load akka.event classes unless bundle imports akka.event package
(cherry picked from commit 3070343a5de78cd7b363e93a09d56565b1e6df9b)
This commit is contained in:
parent
1d768fa10c
commit
739583e384
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class OsgiActorSystemFactory(val context: BundleContext) {
|
|||
/*
|
||||
* Classloader that delegates to the bundle for which the factory is creating an ActorSystem
|
||||
*/
|
||||
private val classloader = BundleDelegatingClassLoader(context)
|
||||
private val classloader = new BundleDelegatingClassLoader(context.getBundle, Some(classOf[ActorSystem].getClassLoader))
|
||||
|
||||
/**
|
||||
* Creates the [[akka.actor.ActorSystem]], using the name specified
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue