<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_autoload.rb, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Apply renaming to Ruby::Box in test codes</title>
<updated>2025-11-07T04:14:54+00:00</updated>
<author>
<name>Satoshi Tagomori</name>
<email>s-tagomori@sakura.ad.jp</email>
</author>
<published>2025-11-06T08:28:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=49c0502f5deccbf5ba788a9387770bfff2ef5794'/>
<id>49c0502f5deccbf5ba788a9387770bfff2ef5794</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend timeout for unstable tests</title>
<updated>2025-11-05T18:25:52+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-11-05T18:23:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=242d8edbebc34f88313748f9fedf14367c6d409b'/>
<id>242d8edbebc34f88313748f9fedf14367c6d409b</id>
<content type='text'>
https://github.com/ruby/ruby/actions/runs/19111531630/job/54609629054
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ruby/actions/runs/19111531630/job/54609629054
</pre>
</div>
</content>
</entry>
<entry>
<title>namespace on read</title>
<updated>2025-05-11T14:32:50+00:00</updated>
<author>
<name>Satoshi Tagomori</name>
<email>tagomoris@gmail.com</email>
</author>
<published>2025-04-30T04:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=382645d440d5da66a0c04557f3ff2ca226de3a27'/>
<id>382645d440d5da66a0c04557f3ff2ca226de3a27</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>macOS 10.13(High Sierra) is already EOL</title>
<updated>2024-09-11T09:13:01+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-09-11T07:46:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=74c3259ce70ae51ca79dea1e607a0284f8d129cf'/>
<id>74c3259ce70ae51ca79dea1e607a0284f8d129cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip test_bug_13526 with High Sierra</title>
<updated>2023-10-11T04:46:58+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-10-11T04:46:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=40ab7b8c244de20007cb45846f41de3a01f7ea0c'/>
<id>40ab7b8c244de20007cb45846f41de3a01f7ea0c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix autoload status of statically linked extensions</title>
<updated>2022-11-25T21:21:40+00:00</updated>
<author>
<name>Alan Wu</name>
<email>XrXr@users.noreply.github.com</email>
</author>
<published>2022-11-17T22:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=790cf4b6d0475614afb127b416e87cfa39044d67'/>
<id>790cf4b6d0475614afb127b416e87cfa39044d67</id>
<content type='text'>
Previously, for statically-linked extensions, we used
`vm-&gt;loading_table` to delay calling the init function until the
extensions are required. This caused the extensions to look like they
are in the middle of being loaded even before they're required.
(`rb_feature_p()` returned true with a loading path output.) Combined
with autoload, queries like `defined?(CONST)` and `Module#autoload?`
were confused by this and returned nil incorrectly. RubyGems uses
`defined?` to detect if OpenSSL is available and failed when OpenSSL was
available in builds using `--with-static-linked-ext`.

Use a dedicated table for the init functions instead of adding them to
the loading table. This lets us remove some logic from non-EXTSTATIC
builds.

[Bug #19115]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, for statically-linked extensions, we used
`vm-&gt;loading_table` to delay calling the init function until the
extensions are required. This caused the extensions to look like they
are in the middle of being loaded even before they're required.
(`rb_feature_p()` returned true with a loading path output.) Combined
with autoload, queries like `defined?(CONST)` and `Module#autoload?`
were confused by this and returned nil incorrectly. RubyGems uses
`defined?` to detect if OpenSSL is available and failed when OpenSSL was
available in builds using `--with-static-linked-ext`.

Use a dedicated table for the init functions instead of adding them to
the loading table. This lets us remove some logic from non-EXTSTATIC
builds.

[Bug #19115]
</pre>
</div>
</content>
</entry>
<entry>
<title>Prevent a warning "Expected ... to define AutoloadTest but it didn't"</title>
<updated>2022-06-20T08:39:58+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2022-06-20T08:39:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=078db98da42444b3cdbd0f391b680ba8193299fd'/>
<id>078db98da42444b3cdbd0f391b680ba8193299fd</id>
<content type='text'>
related: [Bugs #18813] and eca31d24d606a73def3674938112dc3c5b79c445
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
related: [Bugs #18813] and eca31d24d606a73def3674938112dc3c5b79c445
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #18813] Warn when autoload has to lookup in parent namespace</title>
<updated>2022-06-18T12:49:02+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2022-06-18T08:29:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eca31d24d606a73def3674938112dc3c5b79c445'/>
<id>eca31d24d606a73def3674938112dc3c5b79c445</id>
<content type='text'>
This is a verbose mode only warning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a verbose mode only warning.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Module#const_source_location for autoload constants with direct requires</title>
<updated>2022-06-06T18:12:55+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-03-12T05:43:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c85d1cda86d75ee2c3f7b42f22c543409cb5a186'/>
<id>c85d1cda86d75ee2c3f7b42f22c543409cb5a186</id>
<content type='text'>
If an autoload exists for a constant, but the path for the autoload
was required, const_source_location would return [false, 0] instead
of the actual file and line. This fixes it by setting the appropriate
file and line in rb_const_set, and saving the file and line in
const_tbl_update before they get reset by current_autoload_data.

Fixes [Bug #18624]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an autoload exists for a constant, but the path for the autoload
was required, const_source_location would return [false, 0] instead
of the actual file and line. This fixes it by setting the appropriate
file and line in rb_const_set, and saving the file and line in
const_tbl_update before they get reset by current_autoload_data.

Fixes [Bug #18624]
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix GC race condition in autoload.</title>
<updated>2022-05-25T12:17:30+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2022-05-25T11:12:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d875445e8a8b073298e8b3db177d1a5e78c92893'/>
<id>d875445e8a8b073298e8b3db177d1a5e78c92893</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
