| Summary: | [compiler] bogus warning "Unnecessary @SuppressWarnings("unused")" in Order System Example | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||
| Component: | OTJ | Assignee: | Stephan Herrmann <stephan.herrmann> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | ||||||
| Version: | 0.7 | ||||||
| Target Milestone: | 0.8 M3 | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Stephan Herrmann
Created attachment 182555 [details]
fix
Fixed by skipping copy-inherited members in CUD.finalizeProblems().
Annotations are inherited, but usage of members is not newly analyzed.
CopyInheritance.copyField/Method() explicitly set |= AccLocallyUsed.
Patch committed as r992. Verified for 0.8 M3 using build 201011100445 |