This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "Uncaught translation error" when transforming Kawa-compiled classes with dex


Thank you! I think the fix worked, and the APK was built successfully.

The app failed to run though. A ClassNotFound exception regarding my
main activity, much like what Sonny To reported in another thread a
while ago. But this is most likely a separate issue, not necessarily
relevant to Kawa. I'll try digging around and see if I can find
anything.

2017-08-30 12:08 GMT+08:00 Kay Zheng <l04m33@gmail.com>:
> Thank you! I think the fix worked, and the APK was built successfully.
>
> The APK failed to run though. A ClassNotFound exception regarding my main
> activity, much like what Sonny To reported in another thread a while ago.
> But this is most likely a separate issue, not necessarily relevant to Kawa.
> I'll try digging around and see if I can find anything.
>
> On Aug 30, 2017 8:39 AM, "Per Bothner" <per@bothner.com> wrote:
>>
>> On 08/29/2017 01:30 PM, Per Bothner wrote:
>>>
>>> I do see a problem.  The method stringConcatenateReverse$SlShared$V in
>>> srfi13.class has
>>> the following:
>>>
>>> Attribute "LocalVariableTable", length:92, count: 9
>>>    slot#0: name: string-list, type: java.lang.Object (pc: 0 length: 662)
>>>    slot#1: name: maybe-final+end, type: gnu.lists.LList (pc: 0 length:
>>> 662)
>>>    slot#2: name: final, type: java.lang.Object (pc: 23 length: 639)
>>>    slot#3: name: end, type: java.lang.Object (pc: 124 length: 538)
>>>    slot#4: name: len, type: java.lang.Object (pc: 300 length: 247)
>>>    slot#5: name: nzlist, type: java.lang.Object (pc: 300 length: 247)
>>>    slot#6: name: lis, type: java.lang.Object (pc: 300 length: 247)
>>>    slot#7: name: $ctx, type: gnu.mapping.CallContext (pc: 300 length:
>>> 247)
>>>    slot#7: name: slen, type: int (pc: 340 length: 67)
>>>
>>> Notice slot 7 is used for two different variables, of different types -
>>> and their
>>> PC ranges overlap.  Hm.
>>
>>
>> I checked in a fix for this.  Please try again.
>> --
>>         --Per Bothner
>> per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]