Skip to content

Commit

Permalink
[Truffle] JT: fix comparison of Time with Fixnum.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Dec 12, 2016
1 parent a5c126a commit 846ca92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/jt.rb
Expand Up @@ -150,8 +150,8 @@ def self.find_sl
def self.mx?
mx_jar = "#{JRUBY_DIR}/mxbuild/dists/ruby.jar"
mvn_jar = "#{JRUBY_DIR}/lib/jruby-truffle.jar"
mx_time = File.exist?(mx_jar) ? File.mtime(mx_jar) : 0
mvn_time = File.exist?(mvn_jar) ? File.mtime(mvn_jar) : 0
mx_time = File.exist?(mx_jar) ? File.mtime(mx_jar) : Time.at(0)
mvn_time = File.exist?(mvn_jar) ? File.mtime(mvn_jar) : Time.at(0)
mx_time > mvn_time
end

Expand Down

0 comments on commit 846ca92

Please sign in to comment.