mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
08759edea8
Previously, if an autoload failed (the file was loaded, but the constant was not defined by the autoloaded file). Ruby will try to autoload again if you delete the autoloaded file from $LOADED_FEATURES. With this change, the autoload and the constant itself are removed as soon as it fails. To handle cases where multiple threads are autoloading, when deleting an autoload, handle the case where another thread already deleted it. Fixes [Bug #15790] |
||
---|---|---|
.. | ||
argf | ||
array | ||
basicobject | ||
binding | ||
builtin_constants | ||
class | ||
comparable | ||
complex | ||
data | ||
dir | ||
encoding | ||
enumerable | ||
enumerator | ||
env | ||
exception | ||
false | ||
fiber | ||
file | ||
filetest | ||
float | ||
gc | ||
hash | ||
integer | ||
io | ||
kernel | ||
main | ||
marshal | ||
matchdata | ||
math | ||
method | ||
module | ||
mutex | ||
nil | ||
numeric | ||
objectspace | ||
proc | ||
process | ||
queue | ||
random | ||
range | ||
rational | ||
regexp | ||
signal | ||
sizedqueue | ||
string | ||
struct | ||
symbol | ||
systemexit | ||
thread | ||
threadgroup | ||
time | ||
tracepoint | ||
true | ||
unboundmethod | ||
warning |