require needs to treat case-insensitive file paths in LOADED_FEATURES as 
case-insensitive for searching purposes
----------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-5320
                 URL: http://jira.codehaus.org/browse/JRUBY-5320
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.5.6
            Reporter: Charles Oliver Nutter
             Fix For: JRuby 1.6


require searches $" for loaded features when deciding whether to load them or 
not. However it does this with a case-sensitive search, and on case-insensitive 
filesystems the search might fail if two requires use different casing (or if 
internal file path processing changes case, such as C: to c:). It should be 
modified to treat loaded features on case-insensitive filesystems with 
case-insensitive searching.

I'm committing an initial fix for this that assumes if jruby home is on a 
case-insensitive filesystem, all loaded features searches should be done 
case-insensitively. This is not adequate since jruby may be installed on a 
case-sensitive filesystem and libraries loaded from a case-insensitive 
filesystem, or vice versa. It really needs to be done on a feature-by-feature 
basis. This may or may not be possible.

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