Bug 129241 - [Javadoc] deprecation warning wrongly reported when ignoring Malformed Javadoc comments
Summary: [Javadoc] deprecation warning wrongly reported when ignoring Malformed Javado...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 16:50 EST by Frederic Fusier CLA
Modified: 2006-03-28 11:30 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 Frederic Fusier CLA 2006-02-23 16:50:35 EST
Using 3.2 M5 + test case of bug 129137.

Set Javadoc compiler option "Malformed Javadoc comments" to "Ignore"
=> observe that deprecation warning is still reported in Javadoc.

This warning goes away only when box "Report deprecated references" is unchecked.

This behavior is not correct, warning should disappear as soon as user want to ignore malformed javadoc comments!
Comment 1 Frederic Fusier CLA 2006-02-27 07:46:52 EST
Fixed and released in HEAD.

Change ProblemReporter.getIrritant(long) method to return only CompilerOptions.InvalidJavadoc value even for Javadoc deprecation problems.
Before, CompilerOptions.UsingDeprecatedAPI was also returned and this made reporting error in Javadoc as soon as compiler reported deprecation in Java code whatever the value of javadoc options were...

Test cases added in JavadocBugsTests
Comment 2 Olivier Thomann CLA 2006-03-28 11:30:41 EST
Verified using I20060328-0010 for 3.2M6