public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Marius Kjeldahl <marius.kjeldahl@gmail.com>
To: kawa@sourceware.org
Subject: Fwd: Mixed java and kawa support on Android with gradle
Date: Fri, 28 Feb 2014 18:33:00 -0000	[thread overview]
Message-ID: <CAHdMyCJvpDKuG09o595AjuTUcgvddji100ZoFZha21UNSmQBGg@mail.gmail.com> (raw)
In-Reply-To: <CAHdMyC+L9isGjEAAzNM5oRH2VYxGkESPK1gTO6KjOoBUqc76qA@mail.gmail.com>

---------- Forwarded message ----------
From: Marius Kjeldahl <marius.kjeldahl@gmail.com>
Date: Fri, Feb 28, 2014 at 7:33 PM
Subject: Re: Mixed java and kawa support on Android with gradle
To: Per Bothner <per@bothner.com>


Thanks, you can (hopefully) find the files here (the whole slib
directory from the kawa build):

https://www.dropbox.com/sh/h9i6407z2j9yrsk/0y22tLdU_P/kawa

Thanks,

Marius K.

On Fri, Feb 28, 2014 at 7:24 PM, Per Bothner <per@bothner.com> wrote:
> 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/

  parent reply	other threads:[~2014-02-28 18:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28 17:38 Marius Kjeldahl
2014-02-28 18:25 ` Per Bothner
     [not found]   ` <CAHdMyC+L9isGjEAAzNM5oRH2VYxGkESPK1gTO6KjOoBUqc76qA@mail.gmail.com>
2014-02-28 18:33     ` Marius Kjeldahl [this message]
2014-02-28 18:56     ` Per Bothner
2014-02-28 19:12       ` Marius Kjeldahl
2014-03-02  0:17   ` Per Bothner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHdMyCJvpDKuG09o595AjuTUcgvddji100ZoFZha21UNSmQBGg@mail.gmail.com \
    --to=marius.kjeldahl@gmail.com \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).