![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
Thomas E Enebo
|
Created:
|
28/Dec/12 4:21 PM
|
Description:
|
This works ok with MRI, but with jruby 1.7.0 (1.9.3p203) 2012-10-22 ff1ebbe on Java HotSpot(TM) Client VM 1.6.0_35-b10 [Windows 7-x86]
, I get
>> FileUtils.cp 'big.7z', 'big2.7z'
IOError: Map failed
from org/jruby/RubyIO.java:4200:in `copy_stream'
from c:/installs/jruby-1.7.0/lib/ruby/1.9/fileutils.rb:1381:in `copy_file'
from org/jruby/RubyIO.java:1180:in `open'
from c:/installs/jruby-1.7.0/lib/ruby/1.9/fileutils.rb:1380:in `copy_file'
from org/jruby/RubyIO.java:1180:in `open'
from c:/installs/jruby-1.7.0/lib/ruby/1.9/fileutils.rb:1379:in `copy_file'
from c:/installs/jruby-1.7.0/lib/ruby/1.9/fileutils.rb:477:in `copy_file'
from c:/installs/jruby-1.7.0/lib/ruby/1.9/fileutils.rb:396:in `cp'
from c:/installs/jruby-1.7.0/lib/ruby/1.9/fileutils.rb:1524:in `fu_each_src_dest'
from c:/installs/jruby-1.7.0/lib/ruby/1.9/fileutils.rb:1540:in `fu_each_src_dest0'
from c:/installs/jruby-1.7.0/lib/ruby/1.9/fileutils.rb:1522:in `fu_each_src_dest'
from c:/installs/jruby-1.7.0/lib/ruby/1.9/fileutils.rb:395:in `cp'
from (irb):6:in `evaluate'
from org/jruby/RubyKernel.java:1065:in `eval'
from org/jruby/RubyKernel.java:1390:in `loop'
from org/jruby/RubyKernel.java:1173:in `catch'
from org/jruby/RubyKernel.java:1173:in `catch'
from c:/installs/jruby-1.7.0/bin/jirb:13:in `(root)'
and with
jruby 1.7.0 (1.9.3p203) 2012-10-22 ff1ebbe on Java HotSpot(TM) 64-Bit Server VM 1.7.0_10-b18 [Windows 7-amd64]
I don't get an exception message, but I do get this:
$ ls -l
rw-rr- 1 packrd Administrators 2615825975 Dec 27 13:57 big.7z
rw-rr- 1 packrd Administrators 2147483647 Dec 28 15:18 big2.7z
(it didn't copy the whole file).
Thanks, and sorry if it's a dupe.
|
Environment:
|
jruby 1.7.0 (1.9.3p203) 2012-10-22 ff1ebbe on Java HotSpot(TM) Client VM 1.6.0_35-b10 [Windows 7-x86]
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Roger Pack
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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