bugKawa - Bugs: bug #12106, define-alias on types only works...

 
 

bug #12106: define-alias on types only works in compiled modules

Submitter:  Steve Yegge <stevey>
Submitted:  Wed 23 Feb 2005 06:00:31 AM UTC
   
 
Category:  Scheme language Severity:  3 - Normal
Item Group:  Unexpected result Status:  Works For Me
Privacy:  Public Assigned to:  bothner
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 07 Mar 2005 11:21:46 PM UTC, comment #1: 

It may have been fixed now:

$ java kawa.repl
#|kawa:1|# (define-alias <jframe> <javax.swing.JFrame>)
#|kawa:2|# (make <jframe> "hello")
javax.swing.JFrame[frame0,1400,0,0x0,invalid,hidden,layout=java.awt.BorderLayout,title=hello,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]

Per Bothner <bothner>
Group administrator
Wed 23 Feb 2005 06:00:31 AM UTC, original submission:  

(define-alias <jframe> <javax.swing.JFrame>)
(make <jframe> "hello")
gnu.mapping.UnboundLocationException: unbound location <jframe>

This is not a blocking issue; it's more of an annoyance.
The workaround is to fully qualify all your types.

Steve Yegge <stevey>

 

(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

 

CC list is empty

 

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
2005-03-17 bothner StatusNone Works For Me
    Open/ClosedOpen Closed
2005-03-07 bothner Assigned toNone bothner

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code