Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3B3A9200CCC for ; Fri, 21 Jul 2017 12:01:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 39F4316C41E; Fri, 21 Jul 2017 10:01:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8067016C413 for ; Fri, 21 Jul 2017 12:01:13 +0200 (CEST) Received: (qmail 35687 invoked by uid 500); 21 Jul 2017 10:01:12 -0000 Mailing-List: contact dev-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 dev@ignite.apache.org Received: (qmail 35675 invoked by uid 99); 21 Jul 2017 10:01:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2017 10:01:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CD323C0343 for ; Fri, 21 Jul 2017 10:01:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id x1k9ey2x7cz8 for ; Fri, 21 Jul 2017 10:01:10 +0000 (UTC) Received: from mail-qt0-f182.google.com (mail-qt0-f182.google.com [209.85.216.182]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 295675FB43 for ; Fri, 21 Jul 2017 10:01:10 +0000 (UTC) Received: by mail-qt0-f182.google.com with SMTP id o8so37731317qtc.5 for ; Fri, 21 Jul 2017 03:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=nKBChq+7SFI9MGmUVSQID4Q75lW+PmkGimSBBFY2Rls=; b=oxBpJ4zjii+Fh8tacHL6B1eqMGfPWO0LX2lovDQVW7HjZL/lbf1Ua9waKawEKU6m8y SYCdAi/XmMecszf+cCIbYB5iEkpuymB59MSSDsK76BT+rYI68MO+tp0qfsVWddIUj9Fw tne81O3qMIjDLydjemOZ5XWvM+klQQBLPCu8OkdgCsf/LDO2ibCuRmWMBOxYnWiiqe8r EUpqayv403Y4LNMFtt14v39ct0xLNXHxKt5o6c3xh5hfBmJqInFyuMz17qNpLVPKbFpr 8l49Zb1wB5jT9K5t46mRkSQEp1t+2Hc3ca2gKZKRli+dwUcS+UettFBf0zUeii/YKfh4 6b9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=nKBChq+7SFI9MGmUVSQID4Q75lW+PmkGimSBBFY2Rls=; b=AcMoGsHX40AjqBFVUS5s8adPte1nkHclGveHJ1s8IS0hG8DK5UAhhw6jC9cLZ/tHJ+ 4MS8zUBgZkbCNYq+xy8yiL0RqB2dhwMECflfVXmvK8JxbS9ldsI94T2sgMVIJ+KUq1DO 9ch8N6i6gCO4l1n4bL+Uf/nbK2Jrh2mkLZhGgft/t/yTCFfhCEmYxjOyYUXFx0x+pfDj LQgrk7OpnSZjdy9oWlnAq7jYjSwsuuIFVrCfeOqfcrL/kaxvqjeAvHanm3K/ri1FVK+H XbPFekKQedLEaLRxzJWUABR7w5LzLB+lnIJKa/tb9Wvk1Mfkj+5PiNcOMwmvv4dMoHQb XUfw== X-Gm-Message-State: AIVw1130BX6z2ZxiZ7wOlBXdn29Z7TA03y9QRu2BMGc4wnygZQ1yGWtm EgNPhND6VP5kxySZD+izSFtk+sKuM1ki X-Received: by 10.200.39.100 with SMTP id h33mr9080303qth.62.1500631262662; Fri, 21 Jul 2017 03:01:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.36.81 with HTTP; Fri, 21 Jul 2017 03:01:02 -0700 (PDT) In-Reply-To: References: From: Vyacheslav Daradur Date: Fri, 21 Jul 2017 13:01:02 +0300 Message-ID: Subject: Re: Fix for enum marshalling To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="001a11403a525992320554d0f1f7" archived-at: Fri, 21 Jul 2017 10:01:14 -0000 --001a11403a525992320554d0f1f7 Content-Type: text/plain; charset="UTF-8" Hi Nikita. Thanks for the contribution! If you are curious in BinaryMarshaler and want to continue improve it, please, take a look to a task [1] [1] https://issues.apache.org/jira/browse/IGNITE-3244 2017-07-21 12:53 GMT+03:00 Nikita Amelchev : > Hi, Igniters. > I fixed issue 5087 - Enum comparison fails after marshal-unmarshal with > BinaryMarshaller. The solution is check superclass on enum. I created new > public method isEnum(Class cls) for resolve enum mode in binary class > descriptor. Also I get class name through getDeclaringClass() for enum > type. My changes was merged to master. > > -- > Best wishes, > Amelchev Nikita > -- Best Regards, Vyacheslav D. --001a11403a525992320554d0f1f7--