stevedlawrence opened a new pull request, #1632:
URL: https://github.com/apache/daffodil/pull/1632

   The ArraySeq class has been known to cause deserialization failures related 
to saving/reloading parsers because the class is written in a way as to cause 
serialization sensitivity to changes in the class.
   
   We don't use ArraySeq in any of our serialized classes, but Scala implements 
varargs using ArraySeq, and we do use varargs in the serialized CompiledDPath 
class. This can make serialized objects sensitive to different versions of 
Scala if they make changes to the class.
   
   We do not need any of the features provided by ArraySeq or varargs, so this 
converts the ops member of CompiledDPath to an Array, avoiding potential 
deserialzation issues with future versions of Daffodil.
   
   DAFFODIL-3073


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to