ObjectSpace.undefine_finalizer does not work
--------------------------------------------

                 Key: JRUBY-4839
                 URL: http://jira.codehaus.org/browse/JRUBY-4839
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.5
            Reporter: Chuck Remes
         Attachments: a.rb

Calling ObjectSpace.undefine_finalizer(self) on an object does not actually 
remove the finalizer. When the GC collects the object, the finalizer is 
executed. MRI and RBX both behave as expected.

A sample program illustrating the problem is attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to