bugKawa - Bugs: bug #34005, ambiguous call to...

 
 

bug #34005: ambiguous call to getDeclaredMethod("make", 1)

Submitter:  Helmut Eller <ellerh>
Submitted:  Sat 13 Aug 2011 01:14:10 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bothner
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 27 Aug 2011 07:30:57 AM UTC, comment #1: 

Thanks!  I checked in a fix, and the testcase.

Per Bothner <bothner>
Group administrator
Sat 13 Aug 2011 01:14:10 PM UTC, original submission:  

Compiling this code:

(define-simple-class myclass ())

(define (bar list) (apply myclass[] list))


leads to the following error:

kawa --version -C x.scm
Kawa 1.11 (revision 7040M)
Copyright (C) 2011 Per Bothner
(compiling x.scm to x)
<unknown>: Literals: Internal error:java.lang.Error: ambiguous call to getDeclaredMethod("make", 1)
 - gnu.bytecode.Type.make(java.lang.reflect.Type)gnu.bytecode.Type
 - gnu.bytecode.Type.make(java.lang.Class)gnu.bytecode.Type
[Exit 255]


Helmut Eller <ellerh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bothner (Posted a comment)
  • -email is unavailable- added by ellerh (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-27 bothner StatusNone Fixed
        Assigned toNone bothner
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code