Hi Stef.
Do you have a related crash.dmp or SqueakDebug.log file after the crash?
I've tried with a 3.9 image and also get a VM crash.
As a workaround, close all unnecessary windows/morphs then, in a class
browser selecfte the ScrollPane class, use the halos to grab the code pane
and place in the World desktop. Then close the class browser (code pane
remains), make the change to the class template, select all and do-it. Seems
ok then.
I have occasionally noticed that the VM will crash when recompiling some
morph classes while they are in use.
Regards, Gary.
----- Original Message -----
From: "Stéphane Ducasse" <[EMAIL PROTECTED]>
To: "An open mailing list to discuss any topics related to an
open-sourceSmalltalk" <[email protected]>
Sent: Thursday, September 04, 2008 8:05 PM
Subject: [Pharo-project] Crashing the image with polymorph in one line :)
Hi gary
I wanted to remove the class ComponentLikeMorph from the system.
So I redefined ScrollPane to be a subclass of the superclass of
ComponentLikeMorph
MorphicModel subclass: #ScrollPane
instanceVariableNames: 'scrollBar scroller retractableScrollBar
scrollBarOnLeft getMenuSelector getMenuTitleSelector scrollBarHidden
hasFocus hScrollBar'
classVariableNames: ''
poolDictionaries: ''
category: 'Morphic-Windows'
it works in pharo 64
but it crashes systematically the vm when polymorph is loaded.
Stef
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project