Creating *many* files.

Markus Fritsche Fritsche.Markus at gmx.net
Wed Nov 20 01:05:53 UTC 2002


Just for fun, I tried

Smalltalk allClassesDo: [ :clz |
	clz methodsDo: [ :sel |
		clz fileOutMethod: sel selector
	].
].

After 300-2500 files created, an Exception is thrown, saying 'Please 
close this to abort file opening' (StandardFileStream 
class>>fileExistsUserHandling:). Why?

Regards, Markus

P.S.: To test it, I patched ClassDescription 
class>>fileOutMethod:asHtml: as follows:
(selector copyReplaceAll: ':' with: ''). to
(selector copyReplaceAll: ':' with: '§').

-- 
http://reauktion.de/archer/




More information about the Squeak-dev mailing list