+1 (to deprecating adaptTo(URL), and to deprecation comments in the other thread)
Cheers, Jeff. On 20/08/2014 17:29, "Justin Edelson" <jus...@justinedelson.com> wrote: >Hi, >I'm fine with this, although I'm see my other email about what it >means to deprecate an adapter factory. > >Justin > >On Wed, Aug 20, 2014 at 11:59 AM, Carsten Ziegeler <cziege...@apache.org> >wrote: >> Hi, >> >> the JCR Resource implementation currently allows to adapt it to a url >>which >> internally embeds several jackrabbit classes. The returned object keeps >> hold of the current session and therefore is a potential memory leak and >> can't be used once the session is closed. >> So far I've not seen any real use case for this and especially as other >> resource implementations do not provide it, what about deprecating this >> now, logging a big message when used (once) and then we can remove it in >> one of the next versions? >> >> Regards >> Carsten >> -- >> Carsten Ziegeler >> Adobe Research Switzerland >> cziege...@apache.org