| Summary: | Orbit bundles - ch.qos.logback - warnings during shutdown - cycle(s) found | ||
|---|---|---|---|
| Product: | [Tools] Orbit | Reporter: | Markus Tiede <markus.tiede> |
| Component: | bundles | Assignee: | Orbit Bundles <orbit.bundles-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | gunnar, tjwatson |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Markus Tiede
According to bug 115720 the message should only be logged when running in debug mode "-debug" option set. According to bug 275676 comment 2 it also does not do any harm. The bundles don't have activators and so the shutdown order is irrelevant. Also note that it's not a warning but an "INFO" message. I previously reported this with Equinox. See bug 314289. Marking as dup. *** This bug has been marked as a duplicate of bug 314289 *** I thought this bug was opened to get rid of the cycle because that causes other build issues? *** Bug 339871 has been marked as a duplicate of this bug. *** (In reply to comment #3) > I thought this bug was opened to get rid of the cycle because that causes other > build issues? I'm not sure how to resolve the cycle. It's "by design". Bundle slf4j.api provides package org.slf4j Bundle slf4j.api expects a fragment to provide package org.slf4j.impl (some class in org.slf4j will load a class from org.slf4j.impl) Bundle logback.* requires package org.slf4j Fragment logback.slf4j (host slf4j.api) provides package org.slf4j.impl based on logback.* The cycle is introduced by the fragment but this is the inherited design of how SLF4J expects a single native logger implementation to be contributed (Class#forName). (In reply to comment #5) > (In reply to comment #3) > > I thought this bug was opened to get rid of the cycle because that causes other > > build issues? > > I'm not sure how to resolve the cycle. It's "by design". > I understand that. Then this should be closed as wontfix instead of as a dup of the framework bug about the logging of the cycle. Anyway, it is just the semantics of what you meant when you closed the bug. ;-) Done. :) |