gtoolkit
gtoolkit copied to clipboard
Possible issue in `File class>>retryWithGC:until:forFileNamed:` in GT on Pharo 11
We are getting these kind of crashes on the CI in tests that create and delete files from disk in Pharo 11 (build 707) and vm 10.0.7
[0mUndefinedObject(Object)>>doesNotUnderstand: #name
UndefinedObject>>doesNotUnderstand: #name
[ :arg4 | arg4 name sameAs: arg3 ] in File class>>retryWithGC:until:forFileNamed: in Block: [ :arg4 | arg4 name sameAs: arg3 ]
[ :each | (aBlock value: each) ifTrue: [ ^ true ] ] in Array(Collection)>>anySatisfy: in Block: [ :each | (aBlock value: each) ifTrue: [ ^ tru[..]
Array(SequenceableCollection)>>do:
Array(Collection)>>anySatisfy:
File class>>retryWithGC:until:forFileNamed:
File class>>deleteFile:
File>>delete
Could it be because the registry is now of type FinalizationRegistry instead of WeakRegistry?
Maybe related ?
https://github.com/pharo-project/pharo/issues/14626
Most likely fixed. We did not get these error since some time.