Bug 145950 - -XaddSerialVersionUID doesn't work if there is an indirect route to Serializable in the hierarchy
Summary: -XaddSerialVersionUID doesn't work if there is an indirect route to Serializa...
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 1.5.2   Edit
Assignee: Andrew Clement CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-08 03:57 EDT by Andrew Clement CLA
Modified: 2006-06-08 04:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.