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]

Absent Code attribute in r7rs library


srfi-42 is a rich source of horror.

$ ./kawa-absent-code.scm
Exception in thread "main" java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file foo
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
    at gnu.bytecode.ArrayClassLoader.loadClass(ArrayClassLoader.java:125)
    at gnu.expr.ModuleExp.evalToClass(ModuleExp.java:135)
    at gnu.expr.ModuleExp.evalToClass(ModuleExp.java:157)
    at gnu.expr.ModuleExp.evalModule1(ModuleExp.java:259)
    at kawa.Shell.compileSource(Shell.java:560)
    at kawa.Shell.runFile(Shell.java:528)
    at kawa.Shell.runFileOrClass(Shell.java:447)
    at kawa.repl.main(repl.java:881)

This time, it *does* need to be inside an r7rs library for there to be a problem. Again, let me know if more trimming would help.

     -seth


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