Title: [Xdoclet-user] Support for JDK 1.5 (tiger) generics? Parse error!
This is a somewhat known problem.
Basically, the xjavadoc parser doesn't know anything about the new JDK5 features.
 
 


Von: [EMAIL PROTECTED] im Auftrag von Eric Raymond
Gesendet: Sa 31.07.2004 01:00
An: [EMAIL PROTECTED]
Betreff: [Xdoclet-user] Support for JDK 1.5 (tiger) generics? Parse error!

This may or may not be related to the hibernate xdoclet,,,,,

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 SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to