What steps will reproduce the problem?
1. Create a object mirrored by a custom mirror, let's call it objA.
the custom mirror which overrides pass and parameters passes objB instead.
If objB is a mirage as well, serialization fails.
or
run /.test.serialization.SerializationTest.runTest with a version previous to
version 2898 of trunk.
What is the expected output? What do you see instead?
The expected behaviour is that objB is going to be serialized instead of objA.
However, pass() didn't get recursively called for mirages.
Solution:
Changes on writeReplace() at NativeATObject to enforce recursion if the return
value of pass is a NATMirage (which is not an isolate).
Original issue reported on code.google.com by egonzal...@gmail.com on 26 Jul 2011 at 5:19
Original issue reported on code.google.com by
egonzal...@gmail.com
on 26 Jul 2011 at 5:19