You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/07/08 10:42:10 UTC
[jira] [Comment Edited] (SLING-5828) Support multi-valued
Constants.SERVICE_PID
[ https://issues.apache.org/jira/browse/SLING-5828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367511#comment-15367511 ]
Bertrand Delacretaz edited comment on SLING-5828 at 7/8/16 10:41 AM:
---------------------------------------------------------------------
Attached string-pid.txt, rough analysis of where our code assumes just a String (that's 6 modules)
was (Author: bdelacretaz):
Attached string-pid.txt, rough analysis of where our code assumes just a String
> Support multi-valued Constants.SERVICE_PID
> ------------------------------------------
>
> Key: SLING-5828
> URL: https://issues.apache.org/jira/browse/SLING-5828
> Project: Sling
> Issue Type: Bug
> Components: General
> Reporter: Bertrand Delacretaz
> Priority: Minor
> Attachments: string-pid.txt
>
>
> As shown by SLING-5827 it is possible for the Constants.SERVICE_PID property of an OSGi service to be an array or a Collection of String.
> Quoting [1], _The value of this property must be of type String, String[], or Collection of String_.
> We have several places in our code that assume the value to be just a String, I'll attach an initial list and confirm on our dev list that we need to fix them.
> [1] https://osgi.org/javadoc/r4v43/core/org/osgi/framework/Constants.html#SERVICE_PID
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)