[Vm-dev] Progress changes break VMMaker

Eliot Miranda eliot.miranda at gmail.com
Sat Jun 23 18:12:32 UTC 2012


On Sat, Jun 23, 2012 at 10:13 AM, Balázs Kósi <kosi.balazs at ezomer.hu> wrote:

>
> I poked around a bit more, and found a method to handle these kind of
> situations: #rearmHandlerDuring:
> You could rewrite the exception handling block to something like this:
>
> [ :ex |
>    ex tag == #getVMMaker
>      ifTrue: [ ex resume: #caught ]
>       ifFalse: [ ex rearmHandlerDuring: [ ex pass ] ] ]
>
> and get five #cought on the Transcript
>

So is this a hack that points to a bug in the exception handling system or
what?  I don't have time to think about this carefully right now, but it
looks like this is covering up a serious bug in the exception system.
 Thoughts?



-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120623/6e115640/attachment.htm


More information about the Vm-dev mailing list