jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: NodeDelegate leakage from NodeImpl
Date Thu, 07 Jun 2012 11:55:41 GMT
On 2012-06-07 13:07, Michael Dürig wrote:
>
> Hi,
>
> I noticed that since revision 1344662 NodeImpl has an (package private)
> accessor for NodeDelegate. This defeats the original intent of the
> separation of NodeImpl and NodeDelegate (OAK-84): users should not be
> able to gain access to internals by hacking NodeImpl. But precisely this
> is now possible when a user put his code into the
> org.apache.jackrabbit.oak.jcr package.
>
> Michael

Apparently because UserManagerImpl deals with nodes, but does want to 
set properties directly using the delegates. (Performance? Skipping checks?)

Best regards, Julian


Mime
View raw message