Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.6.7
    • Fix Version/s: JRuby 1.7.0.pre2
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Number of attachments :
      0

      Description

      Assuming an otherwise empty current directory, I get these results:

      $ touch foo
      $ mkdir bar
      $ java -Djruby.compat.version=RUBY1_9 -jar ~/jruby-complete-1.6.7.jar -S irb
      irb(main):001:0> File.exists?('foo')
      => true
      irb(main):002:0> File.exists?('bar')
      => true
      irb(main):003:0> File.file?('foo')
      => true
      irb(main):004:0> File.file?('bar')
      => false
      irb(main):005:0> File.directory?('foo')
      => false
      irb(main):006:0> File.directory?('bar')
      => false
      

        Issue Links

          Activity

            People

            • Assignee:
              Charles Oliver Nutter
              Reporter:
              Thomas Dudziak
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: