Dir instance object caches directory contents
---------------------------------------------

                 Key: JRUBY-2519
                 URL: http://jira.codehaus.org/browse/JRUBY-2519
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.1, JRuby 1.1
         Environment: Fedora 7 with Java 1.5, Windows XP with Java 1.6
            Reporter: Jared Robinson
            Priority: Minor
         Attachments: jruby-dir-bug.rb

Apparently in JRuby, the contents of a Dir object instance are cached, unlike 
with Mats ruby. I've attached the file !jruby-dir-bug.rb! to demonstrate it.

It's possible to workaround this by using Dir.foreach('path/to/somewhere').

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