bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #36911] SAM conversion


From: Helmut Eller
Subject: [Bug-kawa] [bug #36911] SAM conversion
Date: Sat, 21 Jul 2012 13:46:12 +0000
User-agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.10.289 Version/12.00

URL:
  <http://savannah.gnu.org/bugs/?36911>

                 Summary: SAM conversion
                 Project: Kawa
            Submitted by: ellerh
            Submitted on: Sat 21 Jul 2012 01:46:11 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This example:

(define (foo)
  (let ((callback (lambda (event) #!void)))
    (javax.swing.JButton "Convert" action-listener: callback)))


produces this error:


shell> kawa x.scm
gnu.text.SyntaxException: 
<unknown>: internal compile error - caught java.lang.ClassFormatError: Absent
Code attribute in method that is not native or abstract in class file x
    java.lang.ClassLoader.defineClass1(Native Method)
    java.lang.ClassLoader.defineClass(ClassLoader.java:791)
    java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    gnu.bytecode.ArrayClassLoader.loadClass(ArrayClassLoader.java:134)
    gnu.expr.ModuleExp.evalToClass(ModuleExp.java:125)
    gnu.expr.ModuleExp.evalModule1(ModuleExp.java:251)
    kawa.Shell.compileSource(Shell.java:533)
    kawa.Shell.runFile(Shell.java:500)
    kawa.Shell.runFileOrClass(Shell.java:427)
    kawa.repl.main(repl.java:880)
        at gnu.expr.ModuleExp.evalToClass(ModuleExp.java:165)
        at gnu.expr.ModuleExp.evalModule1(ModuleExp.java:251)
        at kawa.Shell.compileSource(Shell.java:533)
        at kawa.Shell.runFile(Shell.java:500)
        at kawa.Shell.runFileOrClass(Shell.java:427)
        at kawa.repl.main(repl.java:880)






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36911>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]