Bug 145950

Summary: -XaddSerialVersionUID doesn't work if there is an indirect route to Serializable in the hierarchy
Product: [Tools] AspectJ Reporter: Andrew Clement <aclement>
Component: CompilerAssignee: Andrew Clement <aclement>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: DEVELOPMENT   
Target Milestone: 1.5.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Andrew Clement CLA 2006-06-08 03:57:27 EDT
-XaddSerialVersionUID fails to add a serialversionuid field to a type if Serializable isn't a direct parent.  this case fails:

class X implements I { } // X will not get the field if woven
interface I implements Serializable {}

this works:

class X implements Serializable {} // X will get the field if woven

there is a mistake in the code that checks for the serializable interface
Comment 1 Andrew Clement CLA 2006-06-08 04:27:45 EDT
test and fix committed.