stream: register newshells with no active interpreters (#29731)
Fixes #29730
This commit is contained in:
parent
91a5d4b093
commit
2bf09d8da2
4 changed files with 45 additions and 8 deletions
|
|
@ -39,7 +39,12 @@ class ByteStringInitializationSpec extends AnyWordSpec with Matchers {
|
|||
|
||||
import scala.language.reflectiveCalls
|
||||
type WithRun = { def run(): Unit }
|
||||
cleanCl.loadClass("akka.util.ByteStringInitTest").newInstance().asInstanceOf[WithRun].run()
|
||||
cleanCl
|
||||
.loadClass("akka.util.ByteStringInitTest")
|
||||
.getDeclaredConstructor()
|
||||
.newInstance()
|
||||
.asInstanceOf[WithRun]
|
||||
.run()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue