Re: Component Property Type with empty array as default value

2017-02-13 Thread Julian Sedding
Thanks for your feedback, Carsten and Ray. I did as you suggested and opened https://osgi.org/bugzilla/show_bug.cgi?id=208 Regards Julian On Fri, Feb 10, 2017 at 9:11 PM, Raymond Auge wrote: > Hello Julien, > > As Carsten stated you should post this question on the >

Re: Component Property Type with empty array as default value

2017-02-10 Thread Raymond Auge
Hello Julien, As Carsten stated you should post this question on the osgi-...@mail.osgi.org mailing as it relates to specifying behaviour. However, I tend to agree with your assessment and I think it may be reasonable to make some amendments to the specs to clarify the cases you mentioned. And

Re: Component Property Type with empty array as default value

2017-02-10 Thread Carsten Ziegeler
Hi Julian I think this question is best asked on osgi-...@mail.osgi.org . Regards Carsten Julian Sedding wrote > Hi all > > I have been puzzled recently when using DS Component Property Types by > the following situation (see also FELIX-5404[0]): > > @interface Config { > String[]

Component Property Type with empty array as default value

2017-02-02 Thread Julian Sedding
Hi all I have been puzzled recently when using DS Component Property Types by the following situation (see also FELIX-5404[0]): @interface Config { String[] whitelist default {}; } public class WhitelistComponent { private String[] whitelist; @Activate void activate(Config