Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-10-14 05:16:13 -0400
committerHenrik Rentz-Reichert2013-10-14 05:16:13 -0400
commit1ee7427321ab62e0ce78c60a3577f34448f1c9cd (patch)
tree3a943d82ed5afa6853a1e4978982a5850b36aff6
parentdd8ec7e98158581b80d88869ca0c394363e9c2bf (diff)
downloadorg.eclipse.etrice-1ee7427321ab62e0ce78c60a3577f34448f1c9cd.tar.gz
org.eclipse.etrice-1ee7427321ab62e0ce78c60a3577f34448f1c9cd.tar.xz
org.eclipse.etrice-1ee7427321ab62e0ce78c60a3577f34448f1c9cd.zip
[runtime.java] Bug 419341: replicated array of optional actor has issues with timing service
https://bugs.eclipse.org/419341
-rw-r--r--runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/ReplicatedInterfaceItemBase.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/ReplicatedInterfaceItemBase.java b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/ReplicatedInterfaceItemBase.java
index 0ae2eb442..d739dbfd3 100644
--- a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/ReplicatedInterfaceItemBase.java
+++ b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/ReplicatedInterfaceItemBase.java
@@ -103,7 +103,10 @@ public abstract class ReplicatedInterfaceItemBase extends RTObject implements IR
}
public IInterfaceItem connectWith(IInterfaceItem peer) {
- return peer.connectWith(createSubInterfaceItem());
+ if (peer instanceof InterfaceItemBroker)
+ return peer.connectWith(this);
+ else
+ return peer.connectWith(createSubInterfaceItem());
}
protected abstract InterfaceItemBase createInterfaceItem(IInterfaceItemOwner rcv, String name, int lid, int idx);

Back to the top