Bug 23371

Summary: Deprecation warning does not appear for 2nd constructor
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Dani Megert CLA 2002-09-10 12:16:59 EDT
Build I20020910

I don't know what exactly the problem is but I assume it is because I have 2
constructors (i.e. methods with same name).

Test Case:
1. I deprecated the 2nd constructor in org.eclipse.search.internal.ui.Search.java
==> would expect warning in org.eclipse.search.internal.ui.SearchResultView.java
2. I deprecated the 1st constructor in org.eclipse.search.internal.ui.Search.java
==> warning appears in org.eclipse.search.internal.ui.SearchResultView.java as
expected (note: of course not in the same call as expected in 1.)
Comment 1 Dani Megert CLA 2002-09-11 11:02:52 EDT
Caused because the caller where I expected the warning was already deprecated.