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: eval on Android


* Per Bothner [2012-01-07 08:44] writes:

> On 01/07/2012 12:39 AM, Helmut Eller wrote:
>> I added a call to kawa.standard.Scheme:registerEnvironment.  Now it goes
>> a bit further until defineClass fails:
>>
>> gnu.text.SyntaxException:
>> <unknown>: internal compile error - caught
>> java.lang.UnsupportedOperationException: can't load this type of
>> class file
>>      java.lang.VMClassLoader.defineClass(Native Method)
>>      java.lang.ClassLoader.defineClass(ClassLoader.java:319)
>>      java.lang.ClassLoader.defineClass(ClassLoader.java:283)
>>      gnu.bytecode.ArrayClassLoader.loadClass(ArrayClassLoader.java:134)
>> ...
>
> Hopefully that can be fixed by setting ModuleExp#compilerAvailable
> to false.

Eval works after setting ModuleExp#alwaysCompile to false.

Helmut


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