Bug 93880

Summary: [1.5][javadoc] Source range of PackageDeclaration does not include Javadoc child
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    
Version: 3.1   
Target Milestone: 3.1 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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