Thomas Dudziak created JRUBY-6552: ------------------------------------- Summary: File.directory? does not work under 1.9 mode on Solaris Key: JRUBY-6552 URL: https://jira.codehaus.org/browse/JRUBY-6552 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6.7 Environment: SunOS 5.10 Generic_138889-02 i86pc i386 i86pc
java version "1.6.0_10" Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode) and java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode) Reporter: Thomas Dudziak Assignee: Thomas E Enebo Priority: Critical 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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.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