[ 
https://issues.apache.org/jira/browse/FELIX-6028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus closed FELIX-6028.
----------------------------------
    Resolution: Won't Fix

> osgicheck-maven-plugin: Implement checks for DS field injection
> ---------------------------------------------------------------
>
>                 Key: FELIX-6028
>                 URL: https://issues.apache.org/jira/browse/FELIX-6028
>             Project: Felix
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: osgicheck-maven-plugin 0.1.0
>            Reporter: Konrad Windszus
>            Priority: Major
>
> According to OSGi R7 Compendium 112.3.9.1
> {quote}If the field is declared with the final modifier, SCR must log an 
> error message with the Log Service, if
> present, and the field must not be modified.{quote}
> and
> {quote}
> For a dynamic reference, the field must be declared with the volatile 
> modifier so that field value
> changes made by SCR are visible to other threads. If the field is not 
> declared with the volatile modifier,
> SCR must log an error message with the Log Service, if present, and the field 
> must not be modified.
> {quote}
> Both issues should be detected by the osgicheck-maven-plugin at build time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to