You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2016/05/03 18:48:13 UTC

[jira] [Commented] (SLING-5710) Injectable methods on super-interfaces are not injected

    [ https://issues.apache.org/jira/browse/SLING-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15269042#comment-15269042 ] 

Justin Edelson commented on SLING-5710:
---------------------------------------

fixed in r1742144 with unit test

> Injectable methods on super-interfaces are not injected
> -------------------------------------------------------
>
>                 Key: SLING-5710
>                 URL: https://issues.apache.org/jira/browse/SLING-5710
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Sling Models Impl 1.2.6
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: Sling Models Impl 1.2.8
>
>
> When an interface extends another interface, the injectable methods on the super interface are not injected correctly. This is because we use `Class.getSuperclass()` to get the parent classes which doesn't work if the model class is actually an interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)