The binary type should do.


-----Ursprüngliche Nachricht----- From: Jules Cisek
Sent: Wednesday, March 26, 2014 10:11 PM
To: [email protected]
Subject: serializing thrift objects

is there any clever way to control the serialVersionUID of thrift objects
in Java?

the output of the compiler doesn't specify a serialVersionUID and i end up
with objects that when serialized in various ways are not compatible
between builds, compilers, architecture, etc.

in fact the compiler just tosses this into each class file:
@SuppressWarnings("all")

ouch...

~j

--
jules cisek | [email protected]

Reply via email to