Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2419618DD6 for ; Thu, 28 Jan 2016 08:45:40 +0000 (UTC) Received: (qmail 72415 invoked by uid 500); 28 Jan 2016 08:45:40 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 72379 invoked by uid 500); 28 Jan 2016 08:45:40 -0000 Mailing-List: contact issues-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 issues@ignite.apache.org Received: (qmail 72344 invoked by uid 99); 28 Jan 2016 08:45:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2016 08:45:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D1FE42C14F0 for ; Thu, 28 Jan 2016 08:45:39 +0000 (UTC) Date: Thu, 28 Jan 2016 08:45:39 +0000 (UTC) From: "Pavel Tupitsyn (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (IGNITE-1491) Platform: Implement platform-dependent PlatformContext.writeAsPortableObjectSafe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn resolved IGNITE-1491. ------------------------------------ Resolution: Won't Fix > Platform: Implement platform-dependent PlatformContext.writeAsPortableObjectSafe > -------------------------------------------------------------------------------- > > Key: IGNITE-1491 > URL: https://issues.apache.org/jira/browse/IGNITE-1491 > Project: Ignite > Issue Type: Task > Components: interop > Affects Versions: 1.5.0.final > Reporter: Pavel Tupitsyn > Assignee: Pavel Tupitsyn > > Need to have a reusable way to marshal unknown objects to platforms: > * Write a success flag first > * Always write as a portable object so that platforms know its length and can read in portable mode. Platforms may have different Portables implementations. > * If an object can't be converted to portable, catch an error, write false success flag, and write error class and message as strings -- This message was sent by Atlassian JIRA (v6.3.4#6332)