Larissa Smirnova created SLF4J-449:
--------------------------------------
Summary: Unexpected execution environment J2SE-1.6
Key: SLF4J-449
URL: https://jira.qos.ch/browse/SLF4J-449
Project: SLF4J
Issue Type: Bug
Components: Core API, Implementations
Affects Versions: 1.8.0-beta2
Environment: OSGi Execution Environments and specifically, Eclipse
Tycho and OSGi plugins and bundles.
Reporter: Larissa Smirnova
Assignee: SLF4J developers list
The Bundle-RequiredExecutionEnvironment in the slf4j-api and slf4j-integration
are set to J2SE-1.6. The Standard Eclipse OSGi Execution Environment for Java 6
is JavaSE-1.6 and not J2SE-1.6. Due to this error, builds using the Eclipse
OSGi Execution Environment value will have an error of an unrecognized
Execution Environment. One example is using Eclipse Tycho to build Eclipse
plugins and OSGi bundles.
The commit ab389a9b82abe35034a3026c7eb0d4b9a07b4ae7 from J2SE-1.5 to J2SE-1.6,
is the commit that migrated the Bundle-RequiredExecutionEnvironment forward in
slf4j-api and slf4j-integration manifests to 1.6. It's worth noting that there
is another comment associated with a commit that addresses this error:
https://github.com/qos-ch/slf4j/commit/5f00780faba08756932de6c165a153dd1dd7558a.
For the listing of the Standard Execution Environments, please see: The
Standard Execution Environments are listed at:
https://wiki.eclipse.org/Execution_Environments#Standard_Execution_Environments.
As part of this defect submission, a fix with the changes to correct this issue
has been created in my GitHub fork and is available to be reviewed to be
included in the next release of the slf4j projects. The GitHub fork URL is:
https://github.com/larsmir/slf4j. The specific commit,
928ab902187ebdc78b2262214bd2cb4c36c18a9a, that makes the changes is located at:
https://github.com/larsmir/slf4j/commit/928ab902187ebdc78b2262214bd2cb4c36c18a9a.
Thank you.
--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
_______________________________________________
slf4j-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/slf4j-dev