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

   Added Maybe[T].toArray, replacing seven hand-rolled .toList.toArray call 
sites across the runtimeDependencies migration to Array (EvElement, 
EvEscapeSchemes, EvFieldDFA, StringLiteralForUnparser, SpecifiedLength2, 
ElementUnparser x2) with a single reusable method.
   
   DelimiterTextParser.runtimeDependencies now .clone()s EncodingRuntimeData's 
array instead of aliasing the same mutable instance: Array is invariant and 
mutable, unlike the Vector this used to be, so sharing the identical instance 
would let a future in-place mutation (e.g. dedupe or append) silently corrupt 
every sibling delimiter parser's dependency list along with 
EncodingRuntimeData's own.
   
   DAFFODIL-3065


-- 
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