Bug 259535 - [plan] private fields accessed only by ITDs have a "never read locally" warning on it
Summary: [plan] private fields accessed only by ITDs have a "never read locally" warni...
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-22 19:12 EST by Andrew Eisenberg CLA
Modified: 2013-06-24 11:07 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 Andrew Eisenberg CLA 2008-12-22 19:12:08 EST
When a private field is not referenced in a class, and is only referenced from ITDs, the compiler adds a warning on this field saying that the field is never read locally.  

Would be nice if this warning didn't exist.  Seems that since the compiler has full access to the byte code of the class, it should know that the field is actually read.
Comment 1 Andrew Clement CLA 2008-12-22 21:38:14 EST
i think there are a whole bunch of these, but as 1.6.4 is looking a bit itd themed, lets tackle this one.
Comment 2 Andrew Clement CLA 2013-06-24 11:07:45 EDT
unsetting the target field which is currently set for something already released