You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ma...@apache.org on 2009/11/16 08:42:05 UTC

svn commit: r880641 - /felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ConfigurationDependency.java

Author: marrs
Date: Mon Nov 16 07:41:59 2009
New Revision: 880641

URL: http://svn.apache.org/viewvc?rev=880641&view=rev
Log:
FELIX-1201 applied the patch to make the callback accessible before invoking it.

Modified:
    felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ConfigurationDependency.java

Modified: felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ConfigurationDependency.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ConfigurationDependency.java?rev=880641&r1=880640&r2=880641&view=diff
==============================================================================
--- felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ConfigurationDependency.java (original)
+++ felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ConfigurationDependency.java Mon Nov 16 07:41:59 2009
@@ -126,7 +126,7 @@
       	  	Method m;
 			try {
 			  	m = service.getClass().getDeclaredMethod(callback, new Class[] { Dictionary.class });
-		
+			  	m.setAccessible(true);
 			  	// if exception is thrown here, what does that mean for the
 			  	// state of this dependency? how smart do we want to be??
 			  	// it's okay like this, if the new settings contain errors, we