This is an automated email from the ASF dual-hosted git repository.

hepin pushed a commit to branch 1.6.x
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/1.6.x by this push:
     new 1e705905c9 Remove implicit JUnit4 dependency from 
LogCapturingExtension (#2864) (#2865) (#2866)
1e705905c9 is described below

commit 1e705905c9120d5dc16485727774030847650ff7
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Apr 17 10:06:58 2026 +0200

    Remove implicit JUnit4 dependency from LogCapturingExtension (#2864) 
(#2865) (#2866)
    
    LogCapturingExtension (a JUnit5 InvocationInterceptor) was using
    classOf[LogCapturing] to initialize its logger, which resolves to
    the JUnit4 TestRule class in the same package. Change to use
    classOf[LogCapturingExtension] instead.
    
    Co-authored-by: He-Pin(kerr) <[email protected]>
---
 .../pekko/actor/testkit/typed/javadsl/LogCapturingExtension.scala       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/LogCapturingExtension.scala
 
b/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/LogCapturingExtension.scala
index e4fd37c41e..d888d222c3 100644
--- 
a/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/LogCapturingExtension.scala
+++ 
b/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/LogCapturingExtension.scala
@@ -21,7 +21,7 @@ final class LogCapturingExtension extends 
InvocationInterceptor {
 
   private val capturingAppender = CapturingAppender.get("")
 
-  private val myLogger = LoggerFactory.getLogger(classOf[LogCapturing])
+  private val myLogger = 
LoggerFactory.getLogger(classOf[LogCapturingExtension])
 
   @throws[Throwable]
   override def interceptTestMethod(invocation: Invocation[Void], 
invocationContext: ReflectiveInvocationContext[Method],


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to