Bug 60370

Summary: [compiler] Showing error for unused parameter of a protected method.
Product: [Eclipse Project] JDT Reporter: Umeshs Sharma <umshshrma>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: mlists
Version: 3.0   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on:    
Bug Blocks: 157162    

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.