Regression: IncludedModuleWrapper does not delegate to new Module autoload map 
-------------------------------------------------------------------------------

                 Key: JRUBY-5987
                 URL: https://jira.codehaus.org/browse/JRUBY-5987
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.7
            Reporter: Nick Sieger
            Assignee: Nick Sieger
             Fix For: JRuby 1.7


The moving of the autoload map from a global map in LoadService to a per-module 
map made a regression in lookup of autoloads.

{noformat}

module ActiveRecord
  module Associations
    autoload :HasOneThroughAssociation, 'h1t'
  end

  class Base
    include Associations
  end
end

class MyModel < ActiveRecord::Base
  p HasOneThroughAssociation
end
{noformat}

The lookup of {{HasOneThroughAssociation}} here fails.

--
This message is automatically generated by JIRA.
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