Fix issue with JRuby in 1.9 mode and not finding java.util.concurrent::TimeUnit enum
Try to fix CI's failures in cache_spec.rb