Bug 355314 - abstract method error may be masked by callout binding
Summary: abstract method error may be masked by callout binding
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTJ (show other bugs)
Version: 2.0   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard: To be verified for 2.1 M1
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-21 08:25 EDT by Stephan Herrmann CLA
Modified: 2011-08-25 05:42 EDT (History)
0 users

See Also:


Attachments
test & fix (3.58 KB, patch)
2011-08-21 09:10 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-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