Actions
Bug #3671
closedDateTime dumped by Marshal from ruby 1.8 cannot be loaded by ruby 1.9
Description
=begin
$ ruby -rdate -e 'Marshal.dump DateTime.now, $stdout' | ruby19 -rdate -e 'p Marshal.load $stdin.read'
-e:1:in load': class DateTime needs to have method
_load' (TypeError)
from -e:1:in `'
$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
$ ruby19 -v
ruby 1.9.3dev (2010-07-07 trunk 28561) [x86_64-darwin10.4.0]
Ruby 1.9 should implement DateTime._load in order to load from older versions
=end
Actions
Like0
Like0Like0