Don't take this as an expert opinion, but since subclasses contain all member fields of the superclass, I'd expect that a subclass needs to have a changed SerialVersionUUID if the superclass changes.
Testing this aspect might be in order. -----Original Message----- From: Mike Kienenberger [mailto:[email protected]] Sent: Thursday, June 14, 2012 6:07 PM To: [email protected] Subject: Re: Serialization warnings But should the subclass serialVersionUID change just because the superclass changed? That's what you are proposing. I suspect not, but again, I'm not an expert in the field. serialVersionUID = 1L; might be a better choice and might also encourage the developer to update it when he adds things.
