Hi,

The OSGi deps managed in the parent pom are currently from R7 [1].

R8 was released in 2021-07 [2], does anything speak against moving to
it as a baseline?

My main reaso for the upgrade is having FrameworkUtil.asDictionary [3]
available OOTB. This way we can avoid referencing deprecated APIs and
make SonarQube happy.

Thanks,
Robert

[1]:
https://github.com/apache/sling-parent/blob/273eb6dd8498d1d64822c7dbbb2e2c61685dcf2b/sling-bundle-parent/pom.xml#L50-L205
[2]: https://github.com/osgi/osgi/wiki/Release-Plan:-Core-R8
[3]:
https://github.com/osgi/osgi/blob/54aac9afd76c72249ca3a5aeb08b8a4d1ea709af/org.osgi.framework/src/org/osgi/framework/FrameworkUtil.java#L972-L980

Reply via email to