Carsten Ziegeler created SLING-3864:
---------------------------------------
Summary: Deprecate JcrResource.adaptTo(URL)
Key: SLING-3864
URL: https://issues.apache.org/jira/browse/SLING-3864
Project: Sling
Issue Type: Improvement
Components: JCR
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: JCR Resource 2.3.8
Adapting a JcrResource to a URL should be deprecated:
- the use is problematic as it stores a session internally. This is a potential
memory leak and might also fail if the session is closed elsewhere already
- several jackrabbit classes have to be embedded
- no other resource implementation supports this
--
This message was sent by Atlassian JIRA
(v6.2#6252)