diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-26 10:26:41 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-26 10:26:41 +0000 |
commit | 8ca8d7afb3135a518452a1773ce7cabb54dd2a31 (patch) | |
tree | 85775f105b145f1c7dc2161b8bf9f491ea0dcb37 /ChangeLog | |
parent | bd26be2b3479a0e4ce75179d56de9d6d10be528b (diff) | |
download | ruby-8ca8d7afb3135a518452a1773ce7cabb54dd2a31.tar.gz |
* ext/objspace/object_tracing.c (newobj_i): skip class_path if class
is frozen.
rb_class_path() can modify frozen classes (and causes errors).
This patch is temporary. We need no-modification/no-allocation
class path function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Tue Nov 26 19:17:47 2013 Koichi Sasada <ko1@atdot.net> + + * ext/objspace/object_tracing.c (newobj_i): skip class_path if class + is frozen. + + rb_class_path() can modify frozen classes (and causes errors). + This patch is temporary. We need no-modification/no-allocation + class path function. + Tue Nov 26 18:12:13 2013 Koichi Sasada <ko1@atdot.net> * vm_trace.c: skip "exception check" and "reentrant check (only normal |