Bug 355313

Summary: inferred callout not working for implicitly inherited method
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTJAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: Other   
OS: Linux   
Whiteboard: To be verified for 2.1 M1
Attachments:
Description Flags
Test & fix none

Description Stephan Herrmann CLA 2011-08-21 07:49:46 EDT
According to the OTJLD callout inference applies to all inherited
abstract methods, but currently abstract methods from the tsuper role
are not considered.
Comment 1 Stephan Herrmann CLA 2011-08-21 10:53:10 EDT
Created attachment 201868 [details]
Test & fix

This patch contains a test and fixes the issue by one more call chain
into callout inference:
when an abstract method has been copied from tsuper wait until after
regular callout generation and add further check & processing into
Dependencies.checkMissingMethods(..).

Further adjusts (and create a variant of) the test from bug 355314
(names were still not right & test interaction with this patch).
Comment 2 Stephan Herrmann CLA 2011-08-21 10:54:21 EDT
Patch has been released for 2.1 M1
should also be backported to 2.0.1.
Comment 3 Stephan Herrmann CLA 2011-08-21 10:58:56 EDT
Released for 2.0.1
Comment 4 Stephan Herrmann CLA 2011-08-25 05:44:40 EDT
Verified for 2.0.1 RC2 using build 2.0.1.201108250423