Community
Participate
Working Groups
When I enable the serialversionuid warnings for Serializable classes, it does not warn about this for abstract classes. These are just as important as the concrete classes they inherit from for determining serial compatibility. Example: public abstract class AbstractSerialTest implements java.ioSerializable { } If I remove the abstract keyword it warns properly.
Since abstract classes cannot be instantiated, I don't see why you would need the serialVersionUID field. Concrete subclasses of abstract classes will need it. Ok to close?
Closing as INVALID.