From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4244 invoked by alias); 28 Feb 2014 18:25:06 -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 4232 invoked by uid 89); 28 Feb 2014 18:25:05 -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 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 (AES256-SHA encrypted) ESMTPS; Fri, 28 Feb 2014 18:25:04 +0000 Received: from [10.9.9.209] (helo=mailfront04.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1WJS7I-0002Gb-BE; Fri, 28 Feb 2014 19:25:00 +0100 Received: from 70-36-239-203.dsl.dynamic.sonic.net ([70.36.239.203] helo=localhost.localdomain) by mailfront04.runbox.com with esmtpsa (uid:757155 ) (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) id 1WJS79-0006LO-E6; Fri, 28 Feb 2014 19:24:51 +0100 Message-ID: <5310D470.3070009@bothner.com> Date: Fri, 28 Feb 2014 18:25:00 -0000 From: Per Bothner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Marius Kjeldahl , kawa@sourceware.org Subject: Re: Mixed java and kawa support on Android with gradle References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-q1/txt/msg00075.txt.bz2 On 02/28/2014 09:38 AM, Marius Kjeldahl wrote: > Parts of the stacktrace (see first file in gist for complete details) shows: > > Caused by: java.lang.RuntimeException: no mapping specified for register > at com.android.dx.ssa.BasicRegisterMapper.map(BasicRegisterMapper.java:63) > .... > ...while processing lambda10 > (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; > ...while processing gnu/kawa/slib/ralists$frame1.class > > 1 error; aborting You need to show us the .class files. Dex is the program that converts from JVM-style class files to Dalvik files. There is something in the class file dex doesn't like. Most likely a limitation/bug in dex, but it is also possible Kawa is generating invalid .class files that doesn't been caught in normal usage. Googling yields: "Argh, that old stupid thing. Dex doesn't like two arguments with the same name." If that's the problem, it can probably be fixed easily, but I need to see the class files first. -- --Per Bothner per@bothner.com http://per.bothner.com/