Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

[cm] spec is vague on if modifications from rank <0 or >1000 are ignored, but CT mandates it #2970

Open
bjhargrave opened this issue Jan 16, 2019 · 3 comments
Assignees

Comments

@bjhargrave
Copy link
Member

Original bug ID: BZ#3102
From: @tjwatson
Reported version: R7

@bjhargrave
Copy link
Member Author

Comment author: @tjwatson

Javadoc for ConfigurationPlugin states:

By convention, plugins with service.cmRanking < 0 or service.cmRanking > 1000 should not make modifications to the properties.

The Configuration Admin service has the right to hide properties from plugins, or to ignore some or all the changes that they make. This might be done for security reasons. Any such behavior is entirely implementation defined.

The statement "Any such behavior is entirely implementation defined." is an interesting choice of words considering that the CT expects modififications from such cmRankings to be ignored.

@bjhargrave
Copy link
Member Author

Comment author: @tjwatson

Table 104.2 does make it clear such modifications must be ignored. So this is just an issue with the javadoc IMO.

@bjhargrave
Copy link
Member Author

Comment author: @bjhargrave

CPEG call: Tom will update javadoc to clarify.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants