| Summary: | [compiler] NPE during reporting "abstract relevant role" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||||
| Component: | OTJ | Assignee: | Stephan Herrmann <stephan.herrmann> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | 0.8 | ||||||||
| Target Milestone: | 0.8 M6 | ||||||||
| Hardware: | Other | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 188388 [details]
test & fix
Fixed by using the RoleModel instead of it's AST which might be absent.
committed as r1296, r1297. Verified using build 201106070730. |
Created attachment 188387 [details] new tests If a (potentially) abstract relevant role is inherited from a super team without overriding in the current team (aka phantom role), error reporting can cause an NPE if an existing .class file of the phantom role is reused. Witnesses are in the tests attached.