Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Truffle] Avoid #itself in JT for older rubies.
  • Loading branch information
eregon committed Nov 10, 2016
1 parent 2c20191 commit dc448d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/jt.rb
Expand Up @@ -77,7 +77,7 @@ def self.find_graal_javacmd_and_options
jvmci = ENV['JVMCI_BIN']
graal_home = ENV['GRAAL_HOME']

raise "More than one of GRAALVM_BIN, JVMCI_BIN or GRAAL_HOME defined!" if [graalvm, jvmci, graal_home].count(&:itself) > 1
raise "More than one of GRAALVM_BIN, JVMCI_BIN or GRAAL_HOME defined!" if [graalvm, jvmci, graal_home].compact.count > 1

if !graalvm && !jvmci && !graal_home
if truffle_release?
Expand Down

0 comments on commit dc448d5

Please sign in to comment.