Summary: | [dom] AST#newArrayType(Type, int) should allow array type as argument | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||||
Component: | Core | Assignee: | Markus Keller <markus.kell.r> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | enhancement | ||||||||
Priority: | P3 | CC: | markus.kell.r, Olivier_Thomann, srikanth_sankaran | ||||||
Version: | 3.8 | Flags: | Olivier_Thomann:
review+
|
||||||
Target Milestone: | 3.8 M2 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows 7 | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Patch looks good. I didn't run the tests, but I will. I would just replace: * @param elementType the element type (can an array type) with: * @param elementType the element type (can be an array type) Released for 3.8M2, including the grammar fix. Created attachment 203079 [details]
Proposed fix + regression test
Fix the typo and add regression test.
Verified for 3.8M2 via inspection of code and tests. The code has been committed to HEAD, but unfortunately, it has not been released into the build. The entry was missing in the buildnotes. I'll tag it for next I-build. Map file is updated for next build. Thanks Markus for letting us know. |
Created attachment 203074 [details] Fix HEAD AST#newArrayType(Type, int) should allow an array type as argument. The current API is just inconvenient for no good reason. The patch also removes bogus * <li>a cycle in would be created</li> from Javadocs.