Bug 208608 - javadoc added by quick fix is invalid
Summary: javadoc added by quick fix is invalid
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-02 15:16 EDT by Rafael Chaves CLA
Modified: 2007-12-11 07: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 Rafael Chaves CLA 2007-11-02 15:16:53 EDT
3.2
(I am assuming this is core)

1) enable javadoc validation in the compiler preferences so that missing javadocs are reported as errors, and errors in tags are reported
2) create a new class with no javadoc
3) use quick fix to add javadoc to the class
4) result: 

/**
 * TODO document this
 *
 * @author rchaves
 * @version: 1.0 
 */

Note the colon after "version", which seems incorrect. JDT's javadoc parser sure does not like it as it creates a problem marker labeled 'Javadoc: invalid tag'.
Comment 1 Rafael Chaves CLA 2007-11-02 15:18:20 EDT
User error, the project's preferences had an invalid template... sorry for the noise...
Comment 2 Frederic Fusier CLA 2007-12-11 07:30:36 EST
Verified for 3.4M4