<br><br><div class="gmail_quote">On Fri, Mar 26, 2010 at 12:01 PM, Michael Haupt <span dir="ltr">&lt;<a href="mailto:mhaupt@gmail.com">mhaupt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
environment: Mac VM 4.2.3beta1U. Running all tests in a fresh trunk<br>
yields &quot;2641 run, 2618 passes, 6 expected failures, 8 failures, 2<br>
errors, 7 unexpected passes&quot; (see attachment 1). So far so good, but<br>
clicking on the second error (LocaleTest &gt;&gt; #testLocaleChanged) yields<br>
attachment 2 - the test method is not even on the call stack. It<br>
doesn&#39;t look right.<br>
<br>
Insights, anyone?<br></blockquote><div><br></div><div>The ObsoleteMethodProperties instance will be due to some compiled method or process being held onto by some reference that needs reinitializing.  Hopefully the instance will contain a valid selector which will be a big clue.</div>
<div><br></div><div>The release process should include a step that at least reinitializes all background processes, sorted collection blocks etc, and hence ensures that all compiled methods are up-to-date.</div><div><br></div>
<div>One release test would be to compare CompiledMethod allInstances with those collected by traversing the class hierarchy.  The two should be the same set, except for perhaps the doit used to evaluate this.  e.g.</div>
<div>    | installedMethods allMethods |</div><div>    allMethods := CompiledMethod allInstances asSet.</div><div>    installedMethods := Set new: allMethods size.</div><div>    installedMethods add: thisContext method. &quot;in case this is a doit&quot;</div>
<div>    Smalltalk rootsOfTheWorld do:</div><div>        [:class|</div><div>         class withAllSubclasses do:</div><div>            [:behavior|</div><div>             behavior selectorsAndMethodsDo:</div><div>                [:s :m| installedMethods add: m]]].</div>
<div>    self assert: allMethods size = installedMethods size</div><div><br></div><div>best</div><div>Eliot</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Best,<br>
<font color="#888888"><br>
Michael<br>
</font><br><br>
<br></blockquote></div><br>