June 13, 2011
9:28 p.m.
In my test case for serializing a Pier kernel with Fuel, a FSMemoryStore (from the FileSystem package) is used. The FSMemoryStore holds the "file" bytes in a ByteArray. During serialization, I got a stack trace with KeyNotFound due to FLSerializer>>nextPutReferenceTo: when the object is the "file" ByteArray. Since this ByteArray is where the serialization is being written to, then it's hash value is changing, so Fuel serialization cannot find it in the instancesIndex. I think this is expected behaviour, and the fix is to not serialize certain inst vars. I was using the "stable" 1.4 version. Do I need to change to the 1.5 baseline to get the #fuelIgnoredInstanceVariableNames feature? -- Yanni