Public bug reported:

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.

This particular bug causes 2 mspec test failure in jruby as reported in
LP: #1491526 as jruby currently runs OpenJDK 8u66 in wily.

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"
========

** Affects: libjoda-time-java (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1491530

Title:
  Update libjoda-time-java to 2.8.2 to fix timezone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libjoda-time-java/+bug/1491530/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to