Invoking define_singleton
on an object is adding a subclass to ObjectSpace
#4370
Milestone
define_singleton
on an object is adding a subclass to ObjectSpace
#4370
Environment
Expected Behavior
Invoking
define_singleton
on an object should not add a subclass toObjectSpace
.Here's a script to demonstrate:
MRI and JRuby 1.7.25 output the following (expected):
Actual Behavior
JRuby 9.1.6.0 outputs the following, demonstrating the presence of that undesirable class:
The text was updated successfully, but these errors were encountered: