Bug 355314

Summary: abstract method error may be masked by callout binding
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 08:25:23 EDT
A non-abstract role implicitly inherits two abstract methods and defines 
a callout for one of these. In this case the error regarding the second
method may be masked:

ProblemHandler.protectedHandle sets alreadyReported to true and
ignores the error, although the previously reported error will in
fact be withdrawn due to a rechecker.
Comment 1 Stephan Herrmann CLA 2011-08-21 09:10:17 EDT
Created attachment 201866 [details]
test & fix

Patch contains a test case and a simple fix: always consider problems
with a rechecker as interesting, let the rechecker decide whether or
not to report.
Comment 2 Stephan Herrmann CLA 2011-08-21 09:12:19 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:05:51 EDT
Released for 2.0.1
Comment 4 Stephan Herrmann CLA 2011-08-25 05:42:17 EDT
Verified for 2.0.1 RC2 using build 2.0.1.201108250423