Skip to content

Commit 6a11a71

Browse files
committed
Fix on_jruby_9000?
1 parent fbdf409 commit 6a11a71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/concurrent/utility/engine.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def on_jruby?
88
end
99

1010
def on_jruby_9000?
11-
on_jruby? && 0 == (JRUBY_VERSION =~ /^9\.0\.0\.0/)
11+
on_jruby? && ruby_version(:>=, 9, 0, 0, JRUBY_VERSION)
1212
end
1313

1414
def on_cruby?

0 commit comments

Comments
 (0)