Rmi compilation to native code

Eric Blake ebb9@email.byu.edu
Sun Feb 24 01:34:00 GMT 2002


Mark Wielaard wrote:
>> Basically saying, always use the same compiler to compile your classes
> or break serialization. Sigh. I haven't found documentation of the
> precise changes or how their new javac generates synthetic method names,
> etc.

The Jikes compiler does not produce compatible files, either. The
serialVersionUID is just TOO sensitive on undocumented,
compiler-dependent synthetic methods, so your only safe bet is to always
explicitly specify what you meant, or use a single version of a single
compiler.
-- 
This signature intentionally left boring.
Eric Blake ebb9@email.byu.edu
 BYU student, free software programmer


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /