We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ee1bac commit 2e2369bCopy full SHA for 2e2369b
1 file changed
testkit/src/main/scala/org/apache/pekko/testkit/TestKitUtils.scala
@@ -42,7 +42,8 @@ private[pekko] object TestKitUtils {
42
}
43
44
val startFrom = classToStartFrom.getName
45
- val classes = StackWalker.getInstance().walk(stackWalker)
+ val classes = StackWalker.getInstance(StackWalker.Option.RETAIN_CLASS_REFERENCE)
46
+ .walk(stackWalker)
47
val filteredStack = classes.iterator
48
// drop until we find the first occurrence of classToStartFrom
49
.dropWhile(!_.getName.startsWith(startFrom))
0 commit comments