You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2015/09/09 10:53:10 UTC
[12/43] ignite git commit: IGNITE-1387 Platform .Net: cache.Invoke
does not work with portable objects without Java counterpart
IGNITE-1387 Platform .Net: cache.Invoke does not work with portable objects without Java counterpart
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/2326bb53
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/2326bb53
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/2326bb53
Branch: refs/heads/master
Commit: 2326bb53fd62104b8816fe6da6f388963dc268cd
Parents: 6592208
Author: ptupitsyn <pt...@gridgain.com>
Authored: Tue Sep 8 12:29:34 2015 +0300
Committer: ptupitsyn <pt...@gridgain.com>
Committed: Tue Sep 8 12:29:34 2015 +0300
----------------------------------------------------------------------
.../platform/cache/PlatformCacheEntryProcessorImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/2326bb53/modules/platform/src/main/java/org/apache/ignite/internal/processors/platform/cache/PlatformCacheEntryProcessorImpl.java
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/java/org/apache/ignite/internal/processors/platform/cache/PlatformCacheEntryProcessorImpl.java b/modules/platform/src/main/java/org/apache/ignite/internal/processors/platform/cache/PlatformCacheEntryProcessorImpl.java
index 16124fe..f59a63f 100644
--- a/modules/platform/src/main/java/org/apache/ignite/internal/processors/platform/cache/PlatformCacheEntryProcessorImpl.java
+++ b/modules/platform/src/main/java/org/apache/ignite/internal/processors/platform/cache/PlatformCacheEntryProcessorImpl.java
@@ -175,7 +175,7 @@ public class PlatformCacheEntryProcessorImpl implements PlatformCacheEntryProces
switch (state) {
case ENTRY_STATE_VALUE_SET:
- entry.setValue(reader.readObject());
+ entry.setValue(reader.readObjectDetached());
break;
@@ -205,7 +205,7 @@ public class PlatformCacheEntryProcessorImpl implements PlatformCacheEntryProces
assert state == ENTRY_STATE_INTACT;
}
- return reader.readObject();
+ return reader.readObjectDetached();
}
/** {@inheritDoc} */