Bug 51650 - Javadoc - DOM/AST is not correct after a @see tag
Summary: Javadoc - DOM/AST is not correct after a @see tag
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 10:45 EST by David Audel CLA
Modified: 2004-02-12 15:45 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 David Audel CLA 2004-02-11 10:45:55 EST
build 20040210

public class X {
  /**
   * @see Exception
   * {@link Exception}
   */
  public void foo() {
  }
}

The DOM/AST for the javadoc is incorrect (too much TextElement).
Comment 1 Frederic Fusier CLA 2004-02-12 09:49:29 EST
Fixed.

Now DOM/AST javadoc hierarchy is correct in this peculiar case. Text start was 
not reset when new line was encountered during parse of qualified name 
(Exception in the example).

[jdt-core-dev internal]
Change made in parse(int, int) of AbstractCommentParser.

Test case added in jdt.core.tests.model.ASTConverterJavadocTest
Comment 2 Olivier Thomann CLA 2004-02-12 15:45:24 EST
Verified in 200402121200.