From e1fee7f949cb6719122672fa1081c60984a5339f Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 13 Jan 2021 22:36:45 -0800 Subject: Rename RubyVM::MJIT to RubyVM::JIT because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490] --- test/net/smtp/test_smtp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/net/smtp') diff --git a/test/net/smtp/test_smtp.rb b/test/net/smtp/test_smtp.rb index e909909dec..9b044ec1a2 100644 --- a/test/net/smtp/test_smtp.rb +++ b/test/net/smtp/test_smtp.rb @@ -31,7 +31,7 @@ module Net def setup # Avoid hanging at fake_server_start's IO.select on --jit-wait CI like http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3302796 # Unfortunately there's no way to configure read_timeout for Net::SMTP.start. - if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? + if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? Net::SMTP.prepend Module.new { def initialize(*) super -- cgit v1.2.3