This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Rmi compilation to native code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]