[
https://issues.apache.org/jira/browse/SLING-12657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927047#comment-17927047
]
Carsten Ziegeler commented on SLING-12657:
------------------------------------------
No, the annotations do not tell anything whether someone should implement it or
not. They tell about whether it is allowed to break the implementation with a
minor version update of the package. Implementations of consumer packages must
never be affected, it is fine to affect implementations of producer packages.
Whether a project (like Jackrabbit) wants someone else to implement an
interface is a completely different story and not covered by these annotations
at all.
> JcrBase: ProxyRepository implements JackrabbitRepository
> --------------------------------------------------------
>
> Key: SLING-12657
> URL: https://issues.apache.org/jira/browse/SLING-12657
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Reporter: Julian Reschke
> Priority: Major
>
> ...but that interface is of type "provider".
> See [https://cqdump.joerghoh.de/tag/providertype/] and
> [https://github.com/apache/jackrabbit-oak/blob/1939b6c15a1db13222c52e677ea48fdd7424bfb3/oak-jackrabbit-api/src/main/java/org/apache/jackrabbit/api/JackrabbitRepository.java#L28.]
> Any update to JackrabbitRepository (IMHO) will cause strange runtime
> behaviour.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)