Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.4
-
Fix Version/s: JRuby 1.6.6
-
Component/s: Core Classes/Modules, Intro, RubySpec, Windows
-
Labels:None
-
Number of attachments :
Description
On windows, RubySpec failure:
mspec -t j core\dir jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2010-01-08 f024eb2) (Java HotSpot(TM) Client VM 1.6.0_17) [x86-java] 1) Dir.mkdir creates the named directory with the given permissions FAILED Expected 16877 not to equal 16877 D:/work/jruby-dev/rubyspec.git/core/dir/mkdir_spec.rb:30 D:/work/jruby-dev/rubyspec.git/core/dir/mkdir_spec.rb:26 D:/work/jruby-dev/rubyspec.git/core/dir/mkdir_spec.rb:4 D:/work/jruby-dev/rubyspec.git/core/dir/mkdir_spec.rb:55:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-run:8
got some tests on this, it's practically impossible to fix in windows, File.setReadable, setExecutable and setWritable do nothing. The only way to fix this is wait jdk7 and NIO2?