[Pkg] The Trunk: Squeak-Version-nice.4728.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Apr 8 14:45:45 UTC 2017

Nicolas Cellier uploaded a new version of Squeak-Version to project The Trunk:

==================== Summary ====================

Name: Squeak-Version-nice.4728
Author: nice
Time: 8 April 2017, 4:45:37.353368 pm
UUID: 4a448a44-03bd-43c3-9a5e-752ab51ae8f9
Ancestors: Squeak-Version-nice.4727

Renew the hack for restoring the update process.

=============== Diff against Squeak-Version-nice.4727 ===============

Item was changed:
+ (PackageInfo named: 'Squeak-Version') preamble: '"This is a hack to finalize #MethodContext -> Context renaming.
+ The #bootstrapContext left two problems:
+ 1) there is a binding #MethodContext => Context.
+ 2) ContextPart still think it has Context as subclass, though this one changed its superclass.
+ We must make sure that the removal of these class won''t destroy Context."
- (PackageInfo named: 'Squeak-Version') preamble: '"This is a hack to make sure that #MethodContext keys vanished from Undeclared before loading Kernel-eem.1078.
- Otherwise, the Undeclared binding points to Context after the rename that occured in bootstrapContext, and Context will be removed when attempting to remove MethodContext."
+ [Smalltalk globals at: #MethodContext put: Context copy] on: AttemptToWriteReadOnlyGlobal do: [:exc | exc resume: true].
+ ContextPart instVarAt: 6 put: (ContextPart subclasses select: [:e | e superclass = ContextPart])
- Smalltalk garbageCollect.
- Smalltalk garbageCollect.

More information about the Packages mailing list