In one of my serialized instances I am using a TreeSet to store some 
properties. 

When I declare the Java field as SortedSet (interface) or TreeSet (class), the 
Jenkins XStream correctly serializes the model. However, when I declare my 
field as NavigableSet (interface), then the serialization resolves the field to 
null. 

Shouldn’t XStream always pick the correct dynamic type (and not the static 
type) when serializing things? Or did we specify a specific converter that uses 
a static type?

-- 
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/C254A748-02A8-4204-A667-970F2CC38044%40gmail.com.

Reply via email to