fix: suppress SLF4J startup warning in Tycho test runtime#1299
Conversation
|
No longer stacked — #1280 was closed. This PR now carries both the manifest cleanup and the warning suppression. |
1199fae to
c174520
Compare
Remove Import-Package: org.slf4j from three test manifests where no source file references SLF4J (check.ui.test, xtext.test, xtext.test.core). Retain org.slf4j in test.ui (SwtBot). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Set -Dslf4j.internal.verbosity=ERROR in the Tycho Surefire argLine. SLF4J 2.x uses ServiceLoader for provider discovery, which doesn't work across OSGi classloaders — the warning is cosmetic (SLF4J defaults to NOP regardless). This is the documented suppression mechanism since SLF4J 2.0.10. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
c174520 to
54323cc
Compare
|
Dropped |
Summary
org.slf4jimports from three test manifestsSLF4J(W): No SLF4J providers were foundwarning during Tycho Surefire test execution via-Dslf4j.internal.verbosity=ERRORThe warning is cosmetic — SLF4J defaults to NOP regardless. ServiceLoader-based provider discovery doesn't work across OSGi classloaders, which is a known limitation shared by Eclipse Platform.
References
slf4j.internal.verbosity🤖 Generated with Claude Code