Konrad Windszus created SLING-7129:
--------------------------------------

             Summary: No longer set the Bundle-RequiredExecutionEnvironment 
header
                 Key: SLING-7129
                 URL: https://issues.apache.org/jira/browse/SLING-7129
             Project: Sling
          Issue Type: Improvement
    Affects Versions: Parent 32
            Reporter: Konrad Windszus
            Assignee: Konrad Windszus


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/[email protected]/msg70202.html.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to