Hi!<br><br>I&#39;m playing to bootstrap a Pharo image, trying to get a new environment running into my &#39;host&#39; image, and after that, dump those new objects into a new image file.<br><br>Now, to do that, I&#39;m creating new classes for String, Character...  Which are well known by the vm specialObjectsArray.  And trying to initialize my new image classes, which creates new character objects, and new string objects which is causing me some troubles :P.<br>
<br>Now, my question is about this check in vmmaker (and some others that look similar):<br><br>Interpreter&gt;&gt;#asciiOfCharacter: characterObj  &quot;Returns an integer object&quot;<br>    &lt;inline: false&gt;<br>    <b>self assertClassOf: characterObj is: (self splObj: ClassCharacter).</b><br>
    successFlag<br>        ifTrue: [^ self fetchPointer: CharacterValueIndex ofObject: characterObj]<br>        ifFalse: [^ ConstZero]  &quot;in case some code needs an int&quot;<br><br><br>- Can&#39;t we put a more intelligent assersion like checking if the object responds true to #isCharacter?<br>
- And removing the static check from the vm and adding the dynamic and nice #isCharacter check into the image?<br><br>Thanks!<br>Guille<br><br>