Hi Enno, Enno Thieleke wrote:
> Hello, > > > > first of all I'd like to thank you for creating and maintaining XStream. > It helps us a great deal in most of our unit tests. > > > > We're using XStream 1.4.4 and as we switched from Sun14ReflectionProvider > to its superclass PureJavaReflectionProvider I noticed breaking tests. > After some debugging I found out that objects read from XML have > properties set, which are not part of the XML documents. I took a closer > look at those properties and realized that they're being initialized on > object creation. Nothing special so far. So I debugged again with > Sun14ReflectionProvider and realized that those properties, which should > be initialized on object creation, remain null. > > > > Long story short I think the Sun14ReflectionProvider is broken. It does > not behave the same as its superclass although it should, but only in a > more efficient way. It does not invoke the public default constructor as > expected. http://xstream.codehaus.org/faq.html#Serialization If you have further questions about this, please use the user's list. - Jörg --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
