Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355301 - [ui] callin markers are not created for methods inherited across several levels
Summary: [ui] callin markers are not created for methods inherited across several levels
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTDT (show other bugs)
Version: 2.0   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-20 16:42 EDT by Stephan Herrmann CLA
Modified: 2012-06-05 17:48 EDT (History)
0 users

See Also:


Attachments
simple fix (642 bytes, patch)
2011-08-20 16:52 EDT, Stephan Herrmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2011-08-20 16:42:59 EDT
When the OTSample-Ordersystem is in the workspace, opening class
java.awt.Window should show callin markers at both setSize(..) methods.

However, this doesn't happen, because AbstractMarkable.getSubTypes(..)
adds only direct subtypes.
Comment 1 Stephan Herrmann CLA 2011-08-20 16:52:42 EDT
Created attachment 201860 [details]
simple fix

The patch trivially fixes the problem by calling getAllSubtypes(IType).
Comment 2 Stephan Herrmann CLA 2011-08-20 16:54:01 EDT
Patch has been released for 2.1M2 (r1917).
Comment 3 Stephan Herrmann CLA 2012-06-05 17:48:00 EDT
Verified for 2.1 using build 201206040388.