I have to add that NativeBoost based code (like accessing environment variables 
for certain FileLocator places) breaks down when you have no sources ...

> On 24 Oct 2014, at 10:24, Hilaire <[email protected]> wrote:
> 
> Le 23/10/2014 21:17, Sven Van Caekenberghe a écrit :
> 
>> I just tried and it works.
>> I removed the .changes file and replaced the .source file by a file 
>> containing just the word empty (a totally empty file does not seem to work).
>> Then the 4.0 image starts up and works OK (I only tried command line), it 
>> created an empty .changes.
> 
> Works with Pharo 3 as well.
> 
> 
>> Even decompilation works !
> 
> Cool.
> With Pharo 4 only, right? If I remember correctly decompiler was not
> there in Pharo3
> 
> Thanks
> 
>> 
>> $ ./pharo Pharo.image eval '(ZnClient>>#execute) sourceCode'
>> 'execute
>>      | t1 |
>>      self prepareRequest.
>>      self withProgressDo: [ t1 := self executeWithTimeout ].
>>      self prepareNextRequest.
>>      ^ t1'
>> 
>> Cool !
>> 
>> HTH,
>> 
>> Sven
>> 
>>> Or you could try hacking SourceFileArray>>#ensureOpen
>> 
>> 
>> 
> 
> 
> -- 
> Dr. Geo - http://drgeo.eu
> iStoa - http://istoa.drgeo.eu


Reply via email to