Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6EE06106CE for ; Wed, 9 Sep 2015 08:53:00 +0000 (UTC) Received: (qmail 1433 invoked by uid 500); 9 Sep 2015 08:53:00 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 1347 invoked by uid 500); 9 Sep 2015 08:53:00 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 960 invoked by uid 99); 9 Sep 2015 08:53:00 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2015 08:53:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0A75CE0593; Wed, 9 Sep 2015 08:53:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vozerov@apache.org To: commits@ignite.apache.org Date: Wed, 09 Sep 2015 08:53:10 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [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 Authored: Tue Sep 8 12:29:34 2015 +0300 Committer: ptupitsyn 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} */