Bug 14602

Summary: ast: length of variable declaration fragment
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2002-04-25 09:11:47 EDT
package p;
public class A{
 String message= A.m("s", new String[]{"g"});
 static String m(String g, String[] s){return null;}
}

length of the declaration of message is 17 - which is even shorter than the 
length of its initializer (27). correct length should be 36, i think
Comment 1 Adam Kiezun CLA 2002-04-25 09:12:11 EDT
forgot to assign to Olivier
Comment 2 Olivier Thomann CLA 2002-04-25 11:19:12 EDT
Fixed and released in HEAD.