[slf4j-dev] [JIRA] Updates for SLF4J-579: Export slf4j packages in version 1 and 2 in OSGi-Manifests
QOS.CH (JIRA)
noreply-jira at qos.ch
Tue Mar 14 11:28:00 CET 2023
SLF4J / SLF4J-579 [Open]
Export slf4j packages in version 1 and 2 in OSGi-Manifests
==============================
Here's what changed in this issue in the last few minutes.
This issue has been created
This issue is now assigned to you.
View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-579
==============================
Issue created
------------------------------
Ceki Gülcü created this issue on 14/Mar/23 11:17 AM
Summary: Export slf4j packages in version 1 and 2 in OSGi-Manifests
Issue Type: Bug
Assignee: SLF4J developers list
Created: 14/Mar/23 11:17 AM
Priority: Major
Reporter: Ceki Gülcü
Description:
Components: Core API
Created: 14/Dec/22 11:11 PM
Environment:
The documentation claims that SLF4J-2 is binary compatible to slf4j-1, from a
client perspective:
* [https://www.slf4j.org/faq.html#compatibility]
* [https://www.slf4j.org/faq.html#changesInVersion200]
In order to ease migration to slf4j-2 in the OSGi world and to allow the usage
of libraries that are build against slf4j-1 and therefore have a Import-Package
version range with exclusive upper-bound of 2 in an OSGi runtime that has
SLF4J-2 installed it would be beneficial if slf4j-api would export its packages
in version 1 (probably the latest one) and two.
Eventually the Manifest of slf4j-api would have an entry like the following
(plus uses-constraints):
{code:java}
Export-Package:
org.slf4j;version="1.7.36",
org.slf4j;version="2.0.7",
org.slf4j.event;version="1.7.36",
org.slf4j.event;version="2.0.7",
org.slf4j.helpers;version="1.7.36",
org.slf4j.helpers;version="2.0.7"
org.slf4j.spi;version="1.7.36",
org.slf4j.spi;version="2.0.7"
{code}
==============================
This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af)
More information about the slf4j-dev
mailing list