jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1456053 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java
Date Wed, 13 Mar 2013 17:16:10 GMT
Author: mduerig
Date: Wed Mar 13 17:16:10 2013
New Revision: 1456053

URL: http://svn.apache.org/r1456053
Log:
OAK-672: Avoid JCR APIs calling other JCR APIs
- Removed FIXME concerning thread safety of lazy initialisation: this is not a problem since
read accesses from different threads within the same session are effectively serialised. See
OAK-687.

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java?rev=1456053&r1=1456052&r2=1456053&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionContext.java
Wed Mar 13 17:16:10 2013
@@ -47,7 +47,6 @@ public abstract class SessionContext imp
     private final NamePathMapper namePathMapper;
     private final ValueFactory valueFactory;
 
-    // FIXME lazy initialisation is not thread safe
     private AccessControlManager accessControlManager;
     private PrincipalManager principalManager;
     private UserManager userManager;



Mime
View raw message