RE: Serialization question (was: JSR 160 is FINAL !)

Brian Scully <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Hi,
--- "Bordet, Simone" <[email protected]> wrote:
> Hi,
> Yes.
> If you specify the final modifier, and also specify
> the serialVersionUID, what happens ?
> Just curious, never tried myself.

Don't know - but am pretty sure that specifying the
serialVersionUID locks it down for the class.  If you
want that field to be final, we could do that I guess
- although I think it is not in line with the spec if
it is final...

Brian

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.