Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-449

Unexpected execution environment J2SE-1.6

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0-beta2
    • Fix Version/s: 2.0.0-alpha0, 1.8.0-beta5
    • Component/s: Core API, Implementations
    • Labels:
      None
    • Environment:

      OSGi Execution Environments and specifically, Eclipse Tycho and OSGi plugins and bundles.

      Description

      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 issue has appeared after commit ab389a9b82abe35034a3026c7eb0d4b9a07b4ae7 updated Bundle-RequiredExecutionEnvironment value from J2SE-1.5 to J2SE-1.6.

      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 and 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.

        Attachments

          Activity

            People

            • Assignee:
              ceki Ceki Gülcü
              Reporter:
              larsmir Larissa Smirnova
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: