Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7129

No longer set the Bundle-RequiredExecutionEnvironment header

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Parent 32
    • Parent 33
    • None
    • None

    Description

      Since OSGi 4.3 the header Bundle-RequiredExecutionEnvironment is deprecated (see https://www.infoq.com/news/2011/03/osgi-43). Instead the more generic Require-Capability header should be used which is being set automatically by bnd for the minimally required java execution environment (based on the class version number, compare with http://bnd.bndtools.org/instructions/noee.html and https://github.com/bndtools/bnd/blob/41056e2507e9781d17aeaf66a00b35370a63043d/biz.aQute.bndlib/src/aQute/bnd/osgi/Analyzer.java#L772). Therefore the BREE header should no longer be set.

      The according discussion on the mailing list can be found in https://www.mail-archive.com/dev@sling.apache.org/msg70202.html.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: