From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101401 invoked by alias); 31 Aug 2017 15:39:40 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 101346 invoked by uid 89); 31 Aug 2017 15:39:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=complications, H*M:2279, HContent-Transfer-Encoding:8bit X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 31 Aug 2017 15:39:29 +0000 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dnRZ0-0006HA-FE; Thu, 31 Aug 2017 17:39:26 +0200 Received: from 70-36-239-209.dsl.dynamic.fusionbroadband.com ([70.36.239.209] helo=localhost.localdomain) by mailfront10.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1dnRYt-00068p-BL; Thu, 31 Aug 2017 17:39:19 +0200 Subject: Re: Incompatibility between the Android runtime and Kawa-generated field names From: Per Bothner To: Kay Zheng Cc: Kawa mailing list References: Message-ID: <19600c2a-f4fe-7241-2279-bb820854f20e@bothner.com> Date: Thu, 31 Aug 2017 15:39:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-q3/txt/msg00023.txt.bz2 On 08/30/2017 10:03 AM, Per Bothner wrote: > On 08/30/2017 10:00 AM, Kay Zheng wrote: >> Does the old "mangling" code still exist somewhere? Could you point it >> out for me, to see if I can do something with it? > > Looks like its still there, in Language.mangleName. > > However, I think it's best for me to do it.  I've already started looking > into it, and the actual amount of work looks fairly easy.  Easier than > explaining it ... Fix checked in. Please test it. The "controlling" change is the USE_SYMBOLIC field in gnu/expr/Mangling.java. This field's value depends on whether Android is configured. Some complications did turn up - though it was probably still easier than explaining what to do ... -- --Per Bothner per@bothner.com http://per.bothner.com/