Parse error on for loop with legal array element declaration ------------------------------------------------------------
Key: XDT-1698 URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1698 Project: XDoclet Issue Type: Bug Components: XDoclet Module Affects Versions: 1.2.3 Environment: Windows XP SP2 Java 1.5.0_07 xjavadoc-1.5-snapshot050611.jar Reporter: Fred Muhlenberg Assignee: xdoclet-devel (Use for new issues) Priority: Minor The following Java declaration causes a parse error when running XDoclet for( Object obj[] : list ) where list is any legal Collections or array element. XDoclet reports: Error parsing file F Parse error at line ### , column ##. Encountered : The work around is to move the []'s to the class specification, as in: for( Object[] obj : list ) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel