<br><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 1:14 AM, Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@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;">
2010/9/21 Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; 2010/9/21 Casey Ransberger &lt;<a href="mailto:casey.obrien.r@gmail.com">casey.obrien.r@gmail.com</a>&gt;:<br>
&gt;&gt; Currently we have three more errors than we had in the last build that I<br>
&gt;&gt; rolled. I&#39;m looking at a run on #10532.<br>
&gt;&gt;<br>
&gt;&gt; In general I&#39;d recon it&#39;s an improvement, except for the errors (I don&#39;t<br>
&gt;&gt; mind new failures as long as the total number of tests has gone up by an<br>
&gt;&gt; equal or greater amount, but errors just give me the willies.) Also, the<br>
&gt;&gt; errors are to do with some stuff that looks like it could be hairy. Blocks<br>
&gt;&gt; and finalization. If these can be blessed by more experienced folks than me<br>
&gt;&gt; as &quot;not that big a deal&quot; then I would be quite happy to roll a build<br>
&gt;&gt; tomorrow night.<br>
&gt;&gt; Here&#39;s the numbers:<br>
&gt;&gt;<br>
&gt;&gt; 2803 run, 2762 passes, 9 expected failures, 28 failures, 4 errors, 0<br>
&gt;&gt; unexpected passes<br>
&gt;&gt;<br>
&gt;&gt; 25 new tests<br>
&gt;&gt;<br>
&gt;&gt; 9 expected failures (no change)<br>
&gt;&gt;<br>
&gt;&gt; 28 failures (2 more than the previous image)<br>
&gt;&gt;<br>
&gt;&gt; 4 errors (3 more than the previous image)<br>
&gt;&gt;<br>
&gt;&gt; Errors:<br>
&gt;&gt;<br>
&gt;&gt; EventManagerTest&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; #testBlockReceiverNoArgs<br>
&gt;&gt;<br>
&gt;&gt; #testBlockReceiverOneArg<br>
&gt;&gt;<br>
&gt;&gt; #testBlockReceiverTwoArgs<br>
&gt;&gt;<br>
&gt;<br>
&gt; Oh, I see, it was me introducing clean-up from Juan for<br>
&gt; <a href="http://bugs.squeak.org/view.php?id=7352" target="_blank">http://bugs.squeak.org/view.php?id=7352</a> in<br>
&gt; <a href="http://source.squeak.org/trunk/Kernel-nice.482.mcz" target="_blank">http://source.squeak.org/trunk/Kernel-nice.482.mcz</a><br>
&gt;<br>
&gt; Obviously, WeakActionSequence now restricts element class to<br>
&gt; MessageSend and WeakMessageSend...<br>
&gt; I see three solutions:<br>
&gt;<br>
&gt; 1) implement the 3 compatibility messages into classes of &quot;valuable&quot;<br>
&gt; objects (like BlockClosure)<br>
&gt; 2) wrap those valuable object into a (MessageSend receiver:<br>
&gt; valuableObject selector: #value) at creation time<br>
&gt; 3) revert the changes... and reintroduce the bug :(<br>
&gt;<br>
&gt; I don&#39;t like 1 because it&#39;s spreading very specific messages in the system.<br>
&gt; I don&#39;t like 3 because there&#39;s enough bugs in the image.<br>
&gt; I much prefer 2)<br>
&gt;<br>
&gt; Any other idea?<br>
&gt;<br>
<br>
</div></div>On the other hand there is already a protocol &#39;events-support&#39; in<br>
BlockClosure with two messages #asMinimalRepresentation #isValid, so<br>
1) was the previous option adopted in Squeak.<br></blockquote><div><br></div><div>+1.  But is &#39;events-support&#39; correct or is &#39;finalization support&#39; better?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Note that the second message #isValid is not used anymore after Juan&#39;s<br>
clean-up and could be removed.<br>
<font color="#888888"><br>
Nicolas<br>
</font><div><div></div><div class="h5"><br>
&gt; Nicolas<br>
&gt;<br>
&gt;&gt; WeakFinalizersTest&gt;&gt;#testNewFinalizationSupported<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Casey Ransberger<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br>