Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Parent 32
-
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
- blocks
-
SLING-7131 Move javaversion-maven-plugin to attic
- Resolved
- relates to
-
SLING-7072 Build failure with Java 9 - unable to create javax script engine for javascript
- Closed