Marcel Taeumel uploaded a new version of KernelTests to project The Treated Inbox: http://source.squeak.org/treated/KernelTests-jar.427.mcz
==================== Summary ====================
Name: KernelTests-jar.427 Author: jar Time: 3 June 2022, 9:16:06.853526 pm UUID: d09440fa-7ddf-4144-be3f-0cf1bb61e512 Ancestors: KernelTests-jar.426
Improve comment for KernelTests-jar.426
=============== Diff against KernelTests-jar.426 ===============
Item was changed: ----- Method: ProcessTest>>testPrioritySetBeforeSuspendedContext (in category 'tests') ----- testPrioritySetBeforeSuspendedContext "Test whether priority is set before suspendedContext during process creation." "Setting priority after causes an endless stream of error windows when debugging e.g. [] newProcess when Process Browser is open with auto-update on.
Once the suspendedContext is set, the new process is no longer considered terminated and Process Browser will try to place it in its list of processes but encounters a nil error when reading its priority because it has not been set yet."
| p inside | inside := false. p := [inside := true. [] newProcess] newProcess. p runUntil: [:ctx | inside]. p runUntil: [:ctx | ctx selectorToSendOrSelf = #suspendedContext:]. + "Now p is before assigning suspendedContext in Process class >> forContext:priority: + tempAt: 3 is the local variable 'newProcess' representing the newly created process; + verify whether the new process's priority has already been set." self assert: (p suspendedContext tempAt: 3) priority notNil!
packages@lists.squeakfoundation.org