Summary: | When bracket is placed after MethodDeclarator, build fails. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Eiji Morito <eiji.morito> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.0.1 | ||||||
Target Milestone: | 3.1 M5 | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Eiji Morito
2005-02-14 02:48:30 EST
Parser incorrectly produces: public int[] getTexts(int i) { String[] texts = new String[1]; return texts; } Created attachment 17912 [details]
Possible patch
Removed base type support. Normally the type reference is already present.
Fixed and released in HEAD. Regression tests added in DocumentParserElementTest.test001 and ArrayTest.test007 Verified with 3.1 M5 candidate (I20040215-2300) |