On Mon, Oct 17, 2022 at 5:43 AM Ullrich Hafner <[email protected]>
wrote:

> Shouldn’t XStream always pick the correct dynamic type (and not the static
> type) when serializing things?
>

As far as I know it does, but then again the representation for exotic
collection types is complex.

You should declare the persisted field to be of some simpler type,
preferably `ArrayList`. If you need to enforce uniqueness, sorting, etc. in
memory during operations, do so using any other mechanism, perhaps a
`transient` field.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2w0LfDEQV3uybALYmJG7houQumg3oNrNQAVekf3-RfSw%40mail.gmail.com.

Reply via email to