sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-6552) ResourceResolver must be independent from javax.jcr
Date Thu, 02 Mar 2017 17:51:45 GMT

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

Alexander Klimetschek commented on SLING-6552:
----------------------------------------------

Does this actually work if no javax.jcr bundle is present? ResourceResolverImpl references
that new JcrNamespaceMangler (which has the javax.jcr imports) directly through casting inside
an if condition - does this make Java load that class only when inside the if in demand?

> ResourceResolver must be independent from javax.jcr
> ---------------------------------------------------
>
>                 Key: SLING-6552
>                 URL: https://issues.apache.org/jira/browse/SLING-6552
>             Project: Sling
>          Issue Type: Bug
>          Components: ResourceResolver
>    Affects Versions: Resource Resolver 1.5.12, Resource Resolver 1.5.14
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Resource Resolver 1.5.16
>
>
> Currently the resource resolver bundle imports javax.jcr which makes  the resource resolver
unusable if the jcr api is not available
> The resource resolver should be independent from the jcr api and run without it



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message