Bug 88187 - Unexpected deprecation warnings during full build
Summary: Unexpected deprecation warnings during full build
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-16 11:05 EST by Jerome Lanneluc CLA
Modified: 2005-03-31 10:16 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2005-03-16 11:05:17 EST
I20050315 + latest JDT Core

I1.java
/**
 * @deprecated
 */
public interface I1 {
	// empty block
}

I2.java
/**
 * @deprecated
 */
public interface I2 {
	I1 foo(); // unexpected warning here
}

X.java
/**
 * @deprecated
 */
public class X {
	/**
	 * @see I2#foo()
	 */
	I1 foo() {
		return null;
	}
}
Comment 1 Philipe Mulet CLA 2005-03-16 12:13:51 EST
Can only reproduce when doc comment analysis is enabled.
Comment 2 Philipe Mulet CLA 2005-03-16 12:38:20 EST
There was a path where method could trigger resolution for javadoc without going
through deprecation bit propagation first.
Comment 3 Philipe Mulet CLA 2005-03-16 12:38:31 EST
Fixed.
Added DeprecatedTest#test010.
Comment 4 David Audel CLA 2005-03-31 10:16:49 EST
Verified in I20050330-0500