Update libjoda-time-java to 2.8.2 to fix timezone

Bug #1491530 reported by Tiago Stürmer Daitx
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libjoda-time-java (Debian)
Fix Released
Unknown
libjoda-time-java (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This particular bug lead to 2 mspec test failures causing jruby to FTBFS as reported in LP: #1491526 as jruby currently runs OpenJDK 8u66 in wily.

libjoda-time-java will fail to report TZ name and shortname when running under OpenJDK 8u60 or earlier.

Upstream bugs https://github.com/JodaOrg/joda-time/issues/288 and https://github.com/JodaOrg/joda-time/issues/291

Fixed on 2.8.1. Latest is 2.8.2 with updated TZ data.

Both issues were reported upstream since JRuby should not fail due to joda-time: https://github.com/jruby/jruby/issues/3303 and https://github.com/jruby/jruby/issues/3303

========
Snippet from log:
30)
Time#strftime returns the timezone with %Z FAILED
Expected "+00:00"
 to equal "GMT"

/«PKGBUILDDIR»/spec/ruby/core/time/strftime_spec.rb:238:in `(root)'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyEnumerable.java:1412:in `all?'
org/jruby/RubyFixnum.java:275:in `times'
org/jruby/RubyArray.java:1613:in `each'
/«PKGBUILDDIR»/spec/ruby/core/time/strftime_spec.rb:4:in `(root)'
org/jruby/RubyKernel.java:1059:in `load'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyArray.java:1613:in `each'

31)
Time#zone returns UTC when called on a UTC time FAILED
Expected "GMT"
 to equal "UTC"
========

Tags: ftbfs patch
tags: added: ftbfs
description: updated
tags: added: patch
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :
Changed in libjoda-time-java (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libjoda-time-java - 2.8.2-0ubuntu1

---------------
libjoda-time-java (2.8.2-0ubuntu1) wily; urgency=medium

  * New upstream release. (LP: #1491530)
  * Refresh patches.

 -- Tiago Stürmer Daitx <email address hidden> Wed, 02 Sep 2015 02:27:54 +0000

Changed in libjoda-time-java (Ubuntu):
status: New → Fix Released
Changed in libjoda-time-java (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.