Bug 60370 - [compiler] Showing error for unused parameter of a protected method.
Summary: [compiler] Showing error for unused parameter of a protected method.
Status: VERIFIED DUPLICATE of bug 118217
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 157162
  Show dependency tree
 
Reported: 2004-04-29 03:02 EDT by Umeshs Sharma CLA
Modified: 2007-05-03 21:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Umeshs Sharma CLA 2004-04-29 03:02:26 EDT
Gives error for unused parameter of a protected method in base class, if Set 
the "Parameter Never Read" as error in Windows->preferences. But the parameter 
is used in derived classes. 
So it should not give error for unused parameters for protected method.
Comment 1 Philipe Mulet CLA 2004-04-29 06:57:33 EDT
This is a known limitation of this diagnosis. If it had to check for possible 
subclasses, it would get way to slow (you need to search for subclasses...).

In the future, we want to use the annotation support from 1.5, to allow people 
to tag such "unused" parameters so as not to get the warning.
Comment 2 Philipe Mulet CLA 2004-04-29 07:04:45 EDT
Will reconsider post 3.0
Comment 3 Frederic Fusier CLA 2006-09-08 13:38:59 EDT
JDT/Summit topic
Comment 4 Philipe Mulet CLA 2007-05-03 12:34:13 EDT
dup

*** This bug has been marked as a duplicate of bug 118217 ***
Comment 5 Olivier Thomann CLA 2007-05-03 21:25:17 EDT
Verify for 3.3M7 with I20070503-1400.