Skip to content

Remove implicit JUnit4 dependency from LogCapturingExtension (#2864)#2866

Merged
He-Pin merged 1 commit intoapache:1.6.xfrom
pjfanning:junit-back
Apr 17, 2026
Merged

Remove implicit JUnit4 dependency from LogCapturingExtension (#2864)#2866
He-Pin merged 1 commit intoapache:1.6.xfrom
pjfanning:junit-back

Conversation

@pjfanning
Copy link
Copy Markdown
Member

cherry pick be3a411 (#2865)

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.

…2864) (apache#2865)

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.
@He-Pin He-Pin merged commit 1e70590 into apache:1.6.x Apr 17, 2026
10 checks passed
@pjfanning pjfanning deleted the junit-back branch April 17, 2026 08:25
@pjfanning pjfanning added this to the 1.6.0 milestone Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants