Bug 3016 : This manual serialization of ImmutableList was done because in routed... 92/20092/1
authorHarman Singh <harmasin@cisco.com>
Thu, 30 Apr 2015 21:37:25 +0000 (14:37 -0700)
committerTony Tkacik <ttkacik@cisco.com>
Tue, 12 May 2015 08:37:41 +0000 (08:37 +0000)
commita6a2f886e3fdc9b68c3fbaf59062bc0059bdc3c5
tree23ba79ea0f9a788208f7059d7b1ab653b814475f
parentae86a20d3d555382807eeb1f97e005c5654ce250
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>
(cherry picked from commit 63c9eb4f3bd1a50b6841bbfebb53c1443e5e6ff4)
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/YangInstanceIdentifier.java