From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46625 invoked by alias); 3 May 2017 05:59:51 -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 105093 invoked by uid 89); 3 May 2017 05:53:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Kay, kay, Per, H*Ad:U*per 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; Wed, 03 May 2017 05:53:16 +0000 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1d5nDw-0004QU-5u; Wed, 03 May 2017 07:53:16 +0200 Received: from 76-9-86-211-rt-broadband-01.broadband.oakhurst.sti.net ([76.9.86.211] helo=localhost.localdomain) by mailfront11.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1d5nDj-00063p-94; Wed, 03 May 2017 07:53:03 +0200 Subject: Re: Kawa invoke branch merged into master To: Kay Zheng Cc: Kawa mailing list References: <372902db-feaa-e468-2fa9-328313ce1978@bothner.com> From: Per Bothner Message-ID: Date: Wed, 03 May 2017 05:59:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00045.txt.bz2 On 05/02/2017 10:41 PM, Kay Zheng wrote: > Hi Per, > > It seems the Android support is broken. I was using the configure > script like this: > > JAVACFLAGS="-g -source 1.7 -target 1.7" ./configure > --with-android=/path/to/android.jar --disable-xquery --disable-jemacs > --with-java-source=7 > > And the compiler complained about incompatible types in the Android code: > > (compiling ViewBuilder.scm to gnu.kawa.android.ViewBuilder) > ViewBuilder.scm:8:5: type istring is incompatible with required > type java.lang.String Hm. Are you sure you have the current git sources? I fixed a related bug just a few days ago. You should have this in gnu/kawa/reflect/ChangeLog: 2017-04-30 Per Bothner * ClassMethods.java: Accept any CharSequence as a string. * CompileBuildObject.java: Likewise. * Invoke.java: Likewise. -- --Per Bothner per@bothner.com http://per.bothner.com/