[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-984?page=all ]
Heiko W. Rupp updated XDT-984: ------------------------------ Assign To: xdoclet-devel (Use for new issues) (was: Heiko W. Rupp) > Parse Error with JDK 1.5 Generics and Hibernate > ----------------------------------------------- > > Key: XDT-984 > URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-984 > Project: XDoclet > Type: Bug > Components: Core > Versions: 1.2.1 > Environment: linux > Reporter: Eric Raymond > Assignee: xdoclet-devel (Use for new issues) > Fix For: 1.3 > > > Generating hibernate mapping files fails if the source file contains generics > (ala JDK 1.5.Tiger) > [hibernatedoclet] Error parsing File Account.java:Encountered "<" at line 73, > column 16. > [hibernatedoclet] Was expecting one of: > [hibernatedoclet] <IDENTIFIER> ... > [hibernatedoclet] "[" ... > [hibernatedoclet] "." ... > [hibernatedoclet] "(" ... > [hibernatedoclet] > The offending line is the location of a generic collection: > private Set<Permission> permissions; > Note that at this point in the class file, there have been no xdoclet > annotations (they start lower down in the file). > This may not be hibernate specifc? -- 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel