autoload?, autoload, const_defined? do not work well with Colon2's (e.g. 
autoload Object::Foo, 'blah.rb')
---------------------------------------------------------------------------------------------------------

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


This test is commented out in testLoad.rb (with this jira number next to it):

{code}
autoload("Autoloaded", "#{File.dirname(__FILE__)}/autoloaded.rb")
test_equal("#{File.dirname(__FILE__)}/autoloaded.rb", 
Object.autoload?("Object::Autoloaded"))
{code}

Above we mess this up because we end up storing "Autoloaded" into the 
LoadServer autoMap.  When we ask for Object::Autoloaded and it does not find it.

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