[slf4j-dev] [SLF4J-449] - Unexpected Execution Environment J2SE-1.6
Larissa Smirnova
larsmir at hotmail.com
Thu Nov 15 22:18:27 CET 2018
Hello slf4j-dev Mailing List,
The bug report https://jira.qos.ch/browse/SLF4J-449 has been submitted to identify and correct an issue with the current 1.8.0-beta2 build of slf4j when it is used with OSGi containers, and specifically Eclipse Tycho and OSGi as plugins and bundles.
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.
I'm looking forward to working with the developers on this list and project to correct this issue and get the changes into the next release. Thank you.
Best regards,
Larissa Smirnova
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20181115/5281f5ca/attachment.html>
More information about the slf4j-dev
mailing list