Remove microkernel leftovers in ActorSystem (#28933)
* Microkernel removed in Akka 2.4 so removing this without deprecation should be alright
This commit is contained in:
parent
b4704f7027
commit
a7f39ab7cf
2 changed files with 5 additions and 12 deletions
|
|
@ -0,0 +1,5 @@
|
||||||
|
# leftover from microkernel, removed in Akka 2.4
|
||||||
|
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.actor.ActorSystem.GlobalHome")
|
||||||
|
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.actor.ActorSystem.SystemHome")
|
||||||
|
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.actor.ActorSystem.EnvHome")
|
||||||
|
|
||||||
|
|
@ -170,18 +170,6 @@ object ActorSystem {
|
||||||
|
|
||||||
val Version: String = akka.Version.current // generated file
|
val Version: String = akka.Version.current // generated file
|
||||||
|
|
||||||
val EnvHome: Option[String] = System.getenv("AKKA_HOME") match {
|
|
||||||
case null | "" | "." => None
|
|
||||||
case value => Some(value)
|
|
||||||
}
|
|
||||||
|
|
||||||
val SystemHome: Option[String] = System.getProperty("akka.home") match {
|
|
||||||
case null | "" => None
|
|
||||||
case value => Some(value)
|
|
||||||
}
|
|
||||||
|
|
||||||
val GlobalHome: Option[String] = SystemHome.orElse(EnvHome)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new ActorSystem with the name "default",
|
* Creates a new ActorSystem with the name "default",
|
||||||
* obtains the current ClassLoader by first inspecting the current threads' getContextClassLoader,
|
* obtains the current ClassLoader by first inspecting the current threads' getContextClassLoader,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue