Bug 3016 : This manual serialization of ImmutableList was done because in routed... 15/19415/1
authorHarman Singh <harmasin@cisco.com>
Thu, 30 Apr 2015 21:37:25 +0000 (14:37 -0700)
committerHarman Singh <harmasin@cisco.com>
Thu, 30 Apr 2015 21:38:44 +0000 (14:38 -0700)
commit63c9eb4f3bd1a50b6841bbfebb53c1443e5e6ff4
tree7015bfa35aa9c560845905b1b7ef61c6469d83a8
parentfc97aa32d83e94cf8a8d61df31541b0b9b9f980e
Bug 3016 : This manual serialization of ImmutableList was done because in routed rpc,
remote server was not able to deserialize the object in AKKA messages properly.
Following exception was thrown:

ERROR Remoting - cannot assign instance of com.google.common.collect.RegularImmutableList
to field org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.legacyPath of type
com.google.common.collect.ImmutableList in instance of org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier

Change-Id: I74daf7ab5a6d4c164bb87b1bebc5f4e2dffb8753
Signed-off-by: Harman Singh <harmasin@cisco.com>
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/YangInstanceIdentifier.java