-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.0 CE M2
-
Fix Version/s: 6.0.X EE, 6.1.2 CE GA3, 6.1.30 EE GA3, 6.2.0 CE M2
-
Labels:None
-
Branch Version/s:6.1.x, 6.0.x
-
Backported to Branch:Committed
-
Git Pull Request:
This improvement makes "complex object" serialization and deserialzation possible.
"complex object" here means an object with fields whose classes may from different classloader (Portal and plugins).
On serialization, when working through the object graph, serializer exams the class's classloader, annotates the context name info into stream.
On deserialzation, deserializer bases on the context name info from stream to lookup local counterpart classloader to relocate the counterpart Class, then eventually recreate the counterpart object.