<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Max,<br><br></div><div><br>On May 27, 2018, at 2:44 PM, Max Leske <<a href="mailto:maxleske@gmail.com">maxleske@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><style>body{font-family:Helvetica,Arial;font-size:13px}</style>Hi,<div><br></div><div>Once again, there's a situation in the Fuel test suite that uncovered an issue. Consider the following script:</div><div><br></div><div><div>Object subclass: #Foo</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>instanceVariableNames: ''</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>classVariableNames: ''</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>poolDictionaries: ''</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>category: 'Kernel-Classes'.</div><div><span class="Apple-tab-span" style="white-space:pre">  </span></div><div>10 timesRepeat: [(Smalltalk at: #Foo) rename: #Bar.</div><div>(Smalltalk at: #Bar) rename: #Foo ]</div></div><div><br></div><div>In 5.2-alpha this will open a warning dialog, as at some point one of the class names will be undeclared. Class>>rename: only checks for an entry in the undeclared dictionary without considering that the weak references may not yet have been cleaned up.</div><div><br></div><div>I understand that this is not really a realistic real world use-case but it's still annoying for tests. My current workaround is a forced GC after *every* test in the entire suite (I use ClassFactoryForTestCase, so class names may be reused many times over). Luckily, the impact on runtime isn't too bad.</div><div><br></div><div>I'd appreciate it if this could be fixed. I'd be even more happy if I could be notified of the fix, so that I can remove the workaround again.</div></div></blockquote><div><br></div>Do you have ideas about where the bug lies?<br><div><br></div><br><blockquote type="cite"><div><div><br></div><div>Cheers,</div><div>Max</div></div></blockquote><br><div><span style="background-color: rgba(255, 255, 255, 0);"><br>_,,,^..^,,,_ (phone)</span></div></body></html>