[
https://issues.jboss.org/browse/FORGE-918?page=com.atlassian.jira.plugin....
]
Vineet Reynolds updated FORGE-918:
----------------------------------
Workaround Description: Designate the array dimensions alongside the type like
{{TYPE}}[], or {{TYPE}}[][] (was: Designate the array dimensions alongside the type like
long[], or long[][])
This seems like a bug in Eclipse JDT and it was reproducible under the latest version:
3.9.0.v20130604-1421 as well. Pushed a testcase to reproduce the failure :
https://github.com/forge/java-parser/commit/ef58a409335d1234c5d9324a88322...
Forge Java parser interprets Type x[][] fields as Type
------------------------------------------------------
Key: FORGE-918
URL:
https://issues.jboss.org/browse/FORGE-918
Project: Forge
Issue Type: Bug
Components: Scaffold
Reporter: Vineet Reynolds
Assignee: Vineet Reynolds
Fix For: 1.x Future
This is from TicketMonster. The {{SectionAllocation}} class contains a {{long
allocated[][]}} field. With the getters and setters (one may need to add the setters; see
FORGE-917), the generated view does not contain a widget for the n-dimensional array type,
and instead displays a single numerical entry widget.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira