slachiewicz opened a new pull request, #67: URL: https://github.com/apache/maven-executor/pull/67
Maven 4 installs an SLF4JBridgeHandler on the JVM-global JUL root logger; closing the embedded executor closes the realm that handler was loaded from, so the next JUL record in the test JVM (JUnit's TempDir message) failed with NoClassDefFoundError for org.slf4j.spi.LocationAwareLogger. The executor now removes the handlers loaded by its own realms before closing them, which also unblocks #60 and #63. Verified: new EmbeddedMavenExecutorLoggingTest fails on main for Maven 4 (leaked SLF4JBridgeHandler) and passes with the fix; I could not reproduce the Windows JDK 26 cell locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
