RE: 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 Brian,
> 
> Ah.
> I have paid attention to the names of the serialized
> fields in the JSR 160 classes, but it's possible
> that:
> 1) I forgot to stick with the official name
> 2) The name was changed between EA2 and Final
> 3) The modifiers are not right (I tend to add final
> to those fields that allow to be final).

There was only one instance of changing modifiers that
fixed the serialVersion.  I think it was JMXPrincipal

> Should be simpler: javadocs have both
> serialVersionUID and field names/modifiers. Should
> be enough to stick with the specification.

Yep - the javadocs from the final spec did the trick.

> I would look at the RI source as last resource. 
> Javadocs should be enough; if not, DON'T decompile
> the classes, I repeat, DON'T decompile.

No need - the javadocs got me all the way there.

Thanks for the help,
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.