Kernel.autoload has a couple of problems [active_scaffold blocker]
------------------------------------------------------------------

                 Key: JRUBY-916
                 URL: http://jira.codehaus.org/browse/JRUBY-916
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 0.9.9
            Reporter: Thomas E Enebo
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.0.0RC1


Kernel.autoload has a few incompatibilities with MRI:

1. It returns receiver instead of nil
2. It needs to show up as  defined method by various constant query functions: 
constants const_defined?
3. Setting a constant that has been autoloaded should cancel the autoload

For the curious only 2 was a problem for activescaffold.  actvescaffold 
autoloads lots o stuff and it depends on seeing those constants with the query 
functions to actually load them.

-- 
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