[ https://issues.apache.org/jira/browse/FELIX-5359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15523072#comment-15523072 ]
Thomas Watson commented on FELIX-5359: -------------------------------------- I took a look at doing this. Sometimes the wiring API is a really bad replacement of PackageAdmin. My attempt at this increased the code by 70+ lines. And I am getting some strange failures in the test which may be a bug in the new code or in the R6 framework used in the tests. At this point this bug is not important enough to focus my attention on since it is just trying to remove deprecated usages. I don't think we are at any risk of the major framework implementations removing PackageAdmin any time soon. I know Equinox has no plans of removing the implementation of PackageAdmin at least. > Remove usage of deprecated PackageAdmin > ---------------------------------------- > > Key: FELIX-5359 > URL: https://issues.apache.org/jira/browse/FELIX-5359 > Project: Felix > Issue Type: Improvement > Components: Declarative Services (SCR) > Affects Versions: scr-2.0.6 > Reporter: Thomas Watson > Priority: Minor > > PackageAdmin is deprecated in R6. SCR should move to using the > org.osgi.framework.wiring API. -- This message was sent by Atlassian JIRA (v6.3.4#6332)