Hi guys,
I've been investigating activesupport unit test failures
with the latest JRuby, and here are some results.
Originally, there were 10 failures.
I've looked into 5 failures so far, and they turned out to
be 6 bugs in JRuby:
JRUBY-1652: Time#gmt_offset returns incorrect values for DST
(patch provided)
JRUBY-1653: JRuby incorrectly calculates / and divmod
against Rational number
(patch provided)
JRUBY-1658: Float's multiplication is incorrect when used
with non-built-in type (like Rational)
(patch provided)
JRUBY-1656: (Regexp Regression) JRuby with Joni calculates
String#rindex incorrectly in some cases
JRUBY-1657: (Joni regression) "".index("") returns nil
instead of 0
(patch provided)
JRUBY-1555: DST bug in second form of Time.local
(actually, JRuby just ignores 4 remaining args)
Fixing those bugs will eliminate 5 test failures.
Also, there were some other time-related bugs identified:
JRUBY-1655: JRuby fails built-in unit tests from time.rb lib
(patch provided)
Could somebody take a look into these patches?
Thanks,
--Vladimir
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email