Bug 114338

Summary: [javadoc] Reconciler reports wrong javadoc warning (missing return type)
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: benno.baumgartner, eclipse, ian, J.F.Lanting, koen.bruyndonckx, tonny.madsen
Version: 3.2   
Target Milestone: 3.2 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2005-10-31 06:27:40 EST
I20051025-0800

The reconciler reports a wrong warning "Javadoc: Missing return type
description" even though the description is there.

Steps:

- have p/A.java:

package p;
public class A {
	/**
	 * @return a
	 */
	boolean get() {
		return false;
	}
}

- set project-specific option for Java Compiler > Javadoc:
check all checkboxes, set all combos to 'Warning' and 'Private'

- open A.java and insert a space character somewhere
  => now, 'return' in '@return a' is marked with a warning

Saving the file makes the warning go away.
Comment 1 Frederic Fusier CLA 2005-11-04 11:00:01 EST
Return statement was refreshed for JavadocParser but not for SourceJavadocParser.
Review all references to AbstractCommentParser.kind...

Fixed and release in HEAD.

Test case #testBug114338() added in ReconcilerTest.
Comment 2 Frederic Fusier CLA 2005-11-07 11:38:05 EST
*** Bug 115339 has been marked as a duplicate of this bug. ***
Comment 3 Frederic Fusier CLA 2005-11-08 10:23:16 EST
*** Bug 115483 has been marked as a duplicate of this bug. ***
Comment 4 Frederic Fusier CLA 2005-11-11 05:59:24 EST
*** Bug 115907 has been marked as a duplicate of this bug. ***
Comment 5 Frederic Fusier CLA 2005-11-15 10:36:59 EST
*** Bug 116442 has been marked as a duplicate of this bug. ***
Comment 6 Martin Aeschlimann CLA 2005-12-01 10:54:59 EST
*** Bug 118779 has been marked as a duplicate of this bug. ***
Comment 7 Jerome Lanneluc CLA 2005-12-13 10:43:40 EST
Verified for 3.2 M4 using build I20051212-0010