| Summary: | [otdre] @ImplicitTeamActivation doesn't work in simple case | ||
|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> |
| Component: | OTJ | Assignee: | Stephan Herrmann <stephan.herrmann> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | stephan.herrmann |
| Version: | 2.4 | ||
| Target Milestone: | 2.5 RC | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 484164 | ||
|
Description
Stephan Herrmann
Resolved via commit f9ffd8cafcf58e1227e4c1dc4d661fc416fd95dc The issue was caused by inconsistent handling of method visibility (a private team method with @ImplicitTeamActivation was not woven). While one could argue about usefulness of implicit team activation via a private method, careful reading of OTJLD 5.3(d) visibility is only respected for type-level annotations, not method-level annotations. And silently ignoring the annotation on a private method wouldn't be nice to users. |