Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3864

Deprecate JcrResource.adaptTo(URL)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JCR Resource 2.3.8
    • JCR
    • None

    Description

      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

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: