Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.7.0.pre1
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
The moving of the autoload map from a global map in LoadService to a per-module map made a regression in lookup of autoloads.
module ActiveRecord
module Associations
autoload :HasOneThroughAssociation, 'h1t'
end
class Base
include Associations
end
end
class MyModel < ActiveRecord::Base
p HasOneThroughAssociation
end
The lookup of HasOneThroughAssociation here fails.
Issue Links
- is duplicated by
-
JRUBY-5983
jruby-head master branch crashes inside active record
-
Fixed in f4376337.