Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsboshev2009-06-01 14:01:55 +0000
committersboshev2009-06-01 14:01:55 +0000
commit7b5e2146ae562e29081b2ef08a20cb78000ebd87 (patch)
tree1fa251b5663667a6ee2d34b3d07cbe818fd374de
parent4e25474ac22f25fcd64d6f41569aeba7acd98a02 (diff)
downloadrt.equinox.bundles-7b5e2146ae562e29081b2ef08a20cb78000ebd87.tar.gz
rt.equinox.bundles-7b5e2146ae562e29081b2ef08a20cb78000ebd87.tar.xz
rt.equinox.bundles-7b5e2146ae562e29081b2ef08a20cb78000ebd87.zip
Bug 278333. IllegalArgumentException when signature of unbind method differs from the bind method signaturev20090601
-rw-r--r--bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/model/ComponentReference.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/model/ComponentReference.java b/bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/model/ComponentReference.java
index 6738f702d..c6144d1fd 100644
--- a/bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/model/ComponentReference.java
+++ b/bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/model/ComponentReference.java
@@ -464,7 +464,7 @@ public class ComponentReference implements Externalizable {
// invoke the method
if (unbindMethod != null) {
Object methodParam = null;
- Class[] paramTypes = bindMethod.getParameterTypes();
+ Class[] paramTypes = unbindMethod.getParameterTypes();
if (paramTypes.length == 1 && paramTypes[0].equals(ServiceReference.class)) {
methodParam = serviceReference;
} else {

Back to the top