Regression in specified Time behavior with Joda Time changes
------------------------------------------------------------
Key: JRUBY-1754
URL: http://jira.codehaus.org/browse/JRUBY-1754
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1b2
Reporter: Charles Oliver Nutter
Assignee: Ola Bini
Priority: Blocker
Fix For: JRuby 1.1
I can't confirm whether this is a bad spec or a failure in JRuby, but the stack
trace at the very least should not happen. This is from Rubinius
spec/library/time_spec.rb.
{noformat}
Exception in thread "main" org.joda.time.IllegalFieldValueException: Value 60
for secondOfMinute must be in the range [0,59]
at org.joda.time.field.FieldUtils.verifyValueBounds(FieldUtils.java:215)
at
org.joda.time.field.PreciseDateTimeField.set(PreciseDateTimeField.java:111)
at org.joda.time.DateTime.withSecondOfMinute(DateTime.java:1501)
at org.jruby.RubyTime.createTime(RubyTime.java:746)
at org.jruby.RubyTime.new_utc(RubyTime.java:616)
at org.jruby.RubyTimeInvoker$new_utc_method_1_9.call(Unknown Source)
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.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