Bug 115483

Summary: [javadoc] compilation unit shows warning on every javadoc @return tag
Product: [Eclipse Project] JDT Reporter: Tom Hofmann <eclipse>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert
Version: 3.2   
Target Milestone: 3.2 M4   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description Tom Hofmann CLA 2005-11-08 09:33:30 EST
3.2 M3

- Enable javadoc processing by the compiler
- Open a CU with javadocs
- start editing the CU

-> every @return block tag is marked with a warning, which is wrong

- save the CU

-> the warnings go away again

Not sure whether the problem is on our side (mapping in
CompilationUnitAnnotationModel?) or jdt-core.
Comment 1 Dani Megert CLA 2005-11-08 09:57:24 EST
The problem gets reported by JDT Core during reconcile(...)

Test Case: Enable missing Javadoc warnings and start to type in the following CU:

package p;

/** */
public class Foo {
	/**
	 * @return foo
	 */
	public String toString() {
	    return "";
	}

}
Comment 2 Frederic Fusier CLA 2005-11-08 10:23:16 EST

*** This bug has been marked as a duplicate of 114338 ***