Typed library-extensions were loading the wrong thing (#23701)
* Typed library-extensions were loading the wrong thing * And that actual fix... * Formatting
This commit is contained in:
parent
ad103db43c
commit
846cfe0416
2 changed files with 4 additions and 5 deletions
|
|
@ -6,9 +6,8 @@ package akka.typed
|
|||
import java.util.concurrent.atomic.AtomicInteger
|
||||
|
||||
import com.typesafe.config.{ Config, ConfigFactory }
|
||||
import org.scalatest.concurrent.ScalaFutures
|
||||
|
||||
import scala.concurrent.{ Await, Future }
|
||||
import scala.concurrent.Future
|
||||
|
||||
class DummyExtension1 extends Extension
|
||||
object DummyExtension1 extends ExtensionId[DummyExtension1] {
|
||||
|
|
@ -131,7 +130,7 @@ class ExtensionsSpec extends TypedSpecSetup {
|
|||
intercept[RuntimeException] {
|
||||
withEmptyActorSystem(
|
||||
"ExtensionsSpec07",
|
||||
Some(ConfigFactory.parseString("""akka.library-extensions += "akka.typed.FailingToLoadExtension$"""))
|
||||
Some(ConfigFactory.parseString("""akka.typed.library-extensions += "akka.typed.FailingToLoadExtension$" """))
|
||||
) { _ ⇒ () }
|
||||
}
|
||||
|
||||
|
|
@ -139,7 +138,7 @@ class ExtensionsSpec extends TypedSpecSetup {
|
|||
intercept[RuntimeException] {
|
||||
withEmptyActorSystem(
|
||||
"ExtensionsSpec08",
|
||||
Some(ConfigFactory.parseString("""akka.library-extensions += "akka.typed.MissingExtension"""))
|
||||
Some(ConfigFactory.parseString("""akka.typed.library-extensions += "akka.typed.MissingExtension" """))
|
||||
) { _ ⇒ () }
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ akka.typed {
|
|||
#
|
||||
# Should not be set by end user applications in 'application.conf', use the extensions property for that
|
||||
#
|
||||
library-extensions = ${?akka.library-extensions} []
|
||||
library-extensions = ${?akka.typed.library-extensions} []
|
||||
}
|
||||
|
||||
# TODO: move these out somewhere else when doing #23632
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue