bugKawa - Bugs: bug #4540, init-form called twice in base...

 
 

bug #4540: init-form called twice in base class

Submitted by:  Chris Dean <ctdean>
Submitted on:  Thu 31 Jul 2003 04:32:58 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 09 Aug 2003 09:51:40 PM UTC, comment #1:

I checked in the attached patch.
I also checked in the test case.

Per Bothner <bothner>
Project Administrator
Thu 31 Jul 2003 04:32:58 AM UTC, original submission:

If I use define-simple-class to create two classes, where one of the classes extends the other, the base class init-forms are called twice!

It took a while to find this, but an example is below. If you compile this with java kawa.repl --main -C RepeatInit.scm and run java RepeatInit you should see the "initer" called multiple times.

As usual, if you need more test cases let me know. Thanks!

Chris Dean <ctdean>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #589:  finit.patch added by bothner (1KiB - application/octet-stream - Patch.)
file #569:  RepeatInit.scm added by ctdean (300B - application/octet-stream - RepetInit.scm)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Sat 09 Aug 2003 09:51:40 PM UTCbothnerOpen/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1