You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ie...@apache.org on 2010/02/12 15:41:34 UTC
svn commit: r909432 -
/sling/trunk/bundles/jcr/base/src/main/java/org/apache/sling/jcr/base/SessionProxyHandler.java
Author: ieb
Date: Fri Feb 12 14:41:34 2010
New Revision: 909432
URL: http://svn.apache.org/viewvc?rev=909432&view=rev
Log:
SLING-1372 SLING-1366 Fixing proxying to make it work with JCR1.0, AccessControlUtils and reflection onto JackrabbitSession
Modified:
sling/trunk/bundles/jcr/base/src/main/java/org/apache/sling/jcr/base/SessionProxyHandler.java
Modified: sling/trunk/bundles/jcr/base/src/main/java/org/apache/sling/jcr/base/SessionProxyHandler.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/base/src/main/java/org/apache/sling/jcr/base/SessionProxyHandler.java?rev=909432&r1=909431&r2=909432&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/base/src/main/java/org/apache/sling/jcr/base/SessionProxyHandler.java (original)
+++ sling/trunk/bundles/jcr/base/src/main/java/org/apache/sling/jcr/base/SessionProxyHandler.java Fri Feb 12 14:41:34 2010
@@ -131,11 +131,7 @@
private void addInterfaces( final Class<?>[] classInterfaces,
final Set<Class<?>> workInterfaces ) {
for ( int i = 0; i < classInterfaces.length; i++ ) {
- // to avoid problems we simply ignore all pre jsr 283 interfaces - once we
- // moved to jcr 2.0 completly we can remove this check
- if ( !classInterfaces[i].getName().startsWith("org.apache.jackrabbit.api.jsr283")) {
- workInterfaces.add( classInterfaces[i] );
- }
+ workInterfaces.add( classInterfaces[i] );
addInterfaces(classInterfaces[i].getInterfaces(), workInterfaces);
}
}