[Cuis-dev] ReferenceStream cannot read Dictionary object written with Squeak (was Re: ReferenceStream restoreFromFile: aFileEntry goes into infinite loop)
H. Hirzel
hannes.hirzel at gmail.com
Mon Sep 22 05:36:21 PDT 2025
I am currently identifying which change set causes the problem.
So far Cuis update 7523 still works.
This means if I produce a file ' aDictWithByteArraysFromSq.obj' in Squeak I
can read it in Cuis 7523
So the problem has been introduced in one of the last 60 updates.
"Squeak"
> dict := Dictionary new.
> dict at: 1 put: #[1 2 3 4].
> dict at: 2 put: #[5 6 7 8].
> dict at: 3 put: #[10 20 30 40].
>
> fileStream := ReferenceStream fileNamed: 'aDictWithByteArraysFromSq.obj'.
> objectToSave := dict.
> fileStream nextPut: objectToSave.
> fileStream close
>
>
> "-----------------------------------------------"
> "Restore in Cuis"
> ReferenceStream restoreFromFile: ('aDictWithByteArraysFromSq.obj'
> asFileEntry).
>
> "Result
> OK in Cuis 7523
> NOT OK in Cuis 7584"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250922/79e388a8/attachment.htm>
More information about the Cuis-dev
mailing list