[armedbear-ticket] [armedbear] #240: FIND-CLASS does not implement 3-argument behavior

armedbear armedbear-devel at common-lisp.net
Sun Sep 2 18:40:38 UTC 2012


#240: FIND-CLASS does not implement 3-argument behavior
-----------------------+----------------------------------------------------
 Reporter:  rschlatte  |       Owner:  ehuelsmann
     Type:  defect     |      Status:  assigned  
 Priority:  minor      |   Milestone:            
Component:  CLOS       |     Version:            
 Keywords:             |  
-----------------------+----------------------------------------------------
Changes (by ehuelsmann):

  * owner:  somebody => ehuelsmann
  * status:  new => assigned


Comment:

 I promised to take this one.

 Documenting my planned approach so anybody can pick it if they find time
 before I do.

 The plan is to add a new field to the Environment java class. The field
 will contain a hash map just as the "live" class hash map does. Each new
 environment created from a "root" environment copies the pointer to the
 hash map.

 The three argument find-class and %set-find-class cases set the class in
 that hash map instead of the global one.

 As soon as the environment disappears the classes pointed to can be
 garbage collected, if their super classes don't contain pointers to them.

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/240#comment:1>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list