incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From timothyjw...@apache.org
Subject svn commit: r999468 - /incubator/aries/trunk/jndi/jndi-url/src/main/java/org/apache/aries/jndi/services/JdkProxyFactory.java
Date Tue, 21 Sep 2010 15:37:00 GMT
Author: timothyjward
Date: Tue Sep 21 15:37:00 2010
New Revision: 999468

URL: http://svn.apache.org/viewvc?rev=999468&view=rev
Log:
ARIES-415 Filter classes from JdkProxyFactory, not interfaces.

Modified:
    incubator/aries/trunk/jndi/jndi-url/src/main/java/org/apache/aries/jndi/services/JdkProxyFactory.java

Modified: incubator/aries/trunk/jndi/jndi-url/src/main/java/org/apache/aries/jndi/services/JdkProxyFactory.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/jndi/jndi-url/src/main/java/org/apache/aries/jndi/services/JdkProxyFactory.java?rev=999468&r1=999467&r2=999468&view=diff
==============================================================================
--- incubator/aries/trunk/jndi/jndi-url/src/main/java/org/apache/aries/jndi/services/JdkProxyFactory.java
(original)
+++ incubator/aries/trunk/jndi/jndi-url/src/main/java/org/apache/aries/jndi/services/JdkProxyFactory.java
Tue Sep 21 15:37:00 2010
@@ -37,7 +37,7 @@ public class JdkProxyFactory implements 
       
         Iterator<Class<?>> it = classes.iterator();
         while (it.hasNext()) {
-            if (it.next().isInterface()) it.remove();
+            if (!!!it.next().isInterface()) it.remove();
         }
         
         return Proxy.newProxyInstance(new BundleToClassLoaderAdapter(bundle), classes.toArray(new
Class[classes.size()]),



Mime
View raw message