Bug 93880 - [1.5][javadoc] Source range of PackageDeclaration does not include Javadoc child
Summary: [1.5][javadoc] Source range of PackageDeclaration does not include Javadoc child
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 05:00 EDT by Markus Keller CLA
Modified: 2005-05-27 10:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-05-06 05:00:50 EDT
N20050506-0010

The source range of a PackageDeclaration ast node does not include the package
declaration's Javadoc child node. Source ranges should be properly nested.
Comment 1 Frederic Fusier CLA 2005-05-18 11:32:11 EDT
Fixed and released in HEAD.

Parser now sets correctly package declaration source start when javadoc is present.

[jdt-core internal]
Changes done in Parser consumePackageComment() and
consumePackageDeclarationName() methods.

Test cases added in ASTConverterJavadocTest
Comment 2 Olivier Thomann CLA 2005-05-27 10:03:35 EDT
Verified in I20050526-2000