Bug 40610 - implementation of deprecated method marked as a problem
Summary: implementation of deprecated method marked as a problem
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.0 M3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-22 13:22 EDT by Luc Bourlier CLA
Modified: 2003-07-24 05:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Bourlier CLA 2003-07-22 13:22:59 EDT
When I set the compiler option "Usuage of deprecated API", the compiler report a
problem on org.eclipse.debug.internal.core.LaunchConfigurationType#getDelegate()
: "The method LaunchConfigurationType.getDelegate() overrides a deprecated
method from ILaunchConfigurationType".

I see two problems :
1- getDelegate() doesn't override a method from ILaunchConfigurationType, but
implement it.
2- No problem should be reported, there is no other choice than implement the
method, it's part of the interface ILaunchConfigurationType.
Comment 1 Philipe Mulet CLA 2003-07-23 09:48:57 EDT
If you tag it itself as deprecated, then the warning will go away.

Ok to close?
Comment 2 Philipe Mulet CLA 2003-07-24 05:53:53 EDT
Closing