Bug 225339 - Warning on missing serialVersionId on abstract class
Summary: Warning on missing serialVersionId on abstract class
Status: RESOLVED DUPLICATE of bug 203241
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-02 10:24 EDT by Stefan Schulz CLA
Modified: 2008-04-02 10:38 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schulz CLA 2008-04-02 10:24:36 EDT
Build ID: I20080330-1350

Steps To Reproduce:
1. Define some abstract class to be Serializable.

Will create the following warning on that abstract class:
"The serializable class XYZ does not declare a static final serialVersionUID field of type long"

The warning does not make much sense for an abstract class as no instances thereof can exist. The warning should at least be switchable.

More information:
Comment 1 Olivier Thomann CLA 2008-04-02 10:38:42 EDT

*** This bug has been marked as a duplicate of bug 203241 ***