History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRUBY-916
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Thomas E Enebo
Reporter: Thomas E Enebo
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JRuby

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

Created: 06/May/07 11:29 AM   Updated: 06/May/07 09:49 PM
Component/s: Core Classes/Modules
Affects Version/s: JRuby 0.9.9
Fix Version/s: JRuby 1.0.0RC1

Time Tracking:
Not Specified


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Thomas E Enebo - 06/May/07 06:46 PM
Fixed in commit 3629

Charles Oliver Nutter - 06/May/07 09:49 PM
Closing for 1.0RC1