Bug 216311

Summary: ITD fields on interfaces end up transient with annotation style
Product: [Tools] AspectJ Reporter: Guillaume Lasnier <guillaume.lasnier>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P2 CC: aclement
Version: 1.5.4RC1   
Target Milestone: 1.6.0 M2   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
The IPersistable interface to be extended by the aspect
none
The ITD aspect using Java @Annotations
none
The serialization test case (JUnit 4) none

Description Guillaume Lasnier CLA 2008-01-23 12:47:49 EST
Created attachment 87678 [details]
The IPersistable interface to be extended by the aspect

+++ This bug was initially created as a clone of Bug #168063 +++

The same problem occurs when using @Annotations style.
Comment 1 Guillaume Lasnier CLA 2008-01-23 12:48:34 EST
Created attachment 87679 [details]
The ITD aspect using Java @Annotations
Comment 2 Guillaume Lasnier CLA 2008-01-23 12:49:06 EST
Created attachment 87680 [details]
The serialization test case (JUnit 4)
Comment 3 Andrew Clement CLA 2008-02-20 15:01:22 EST
fix committed.  Changed the instance field for the aspect instance that is added to the target type to include an extra component in its name, instead of just 'ajc$' as a prefix, it is now 'ajc$instance$' which enables the logic that checks for what should be made transient to identify it and *not* make it transient.