Project: JDT
Bug 163799 [clean up] No need to generate SUID for Externalizable classes
Reported: 2006-11-08 08:40:24 | Status: resolved fixed

I20061102-1715 + HEAD Given: package test; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; public class E3 implements Externalizable { public void readExternal(ObjectInput in) throws IOException,ClassNotFoundException {} public void writeExternal(ObjectOutput out) throws IOException {} } This class is flagged as: The serializable class E3 does not declare a static final serialVersionUID field in 3.3M3 if compiler warning is enabled for 'Serializable class without serialVersionUID'. In HEAD it is not flagged anymore, resulting in a JDT/UI test failure in CleanUpTest. Was this changed on purpose?

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java