Hi Ihar, Ihar Tsimoshka wrote:
> Hi Jörg. > > > I've investigated this problem more. And I found that Xstream handles > fields in wrong order on Android in classes where Date or Integer(or both) > fields are. In this case Date field is handled first. > I cannot use FieldKeySorter because I have many classes with Date and > Integer fields and I don't want to create Sorter for everyone. > Please note that in all my messages I run code on Android (minSdk=8) Actually XStream has no idea about the "correct" order either. It relies completely on the Java runtime to return the fields in declaration order. - Jörg --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email