[squeak-dev] Progress changes break VMMaker

Eliot Miranda eliot.miranda at gmail.com
Sat Jun 23 02:27:38 UTC 2012


Hi All,  Hi Chris,

    something in the changes to ProcessInitiationException done
in ToolBuilder-Kernel-cmm.48/49/52 breaks the VMMaker.  i.e. the following
prints nil 5 times to the Transcript instead of printing #caught 5 times.

['Progressing' displayProgressFrom: 1 to: 5 during:
[:bar|
1 to: 5 do:
[:i|
Transcript cr; print: (Notification new tag: #getVMMaker; signal); flush.
bar value: i]]]
on: Notification
do:[:ex|
ex tag == #getVMMaker
ifTrue: [ex resume: #caught]
ifFalse: [ex pass]]

Any help in fixing this appreciated!

Interestingly in the following count is 1

| count |
count := 0.
['Progressing' displayProgressFrom: 1 to: 5 during:
[:bar|
1 to: 5 do:
[:i|
Transcript cr; print: (Notification new tag: #getVMMaker; signal); flush.
bar value: i]]]
on: Notification
do:[:ex|
count := count + 1.
ex tag == #getVMMaker
ifTrue: [ex resume: #caught]
ifFalse: [ex pass]].
count 1

-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120622/9825e40d/attachment.htm


More information about the Squeak-dev mailing list