The following comment has been added to this issue:

     Author: Luiz-Otavio Zorzella
    Created: Wed, 29 Dec 2004 12:32 PM
       Body:
Thanks for the patch!!! It is saving my life :^>

There's a problem, though: if a parametrized generic is used in a session bean 
remote method (for example), the generated interface class does not come with 
the parameter. E.g.:

... MySessionBean ... {
...

   /**
     * @ejb.interface-method
     *       view-type = "remote"
     *
     */
   public List<MyClass> getListOfMyClass () { ... }
...
}

will generated:

... MySession ... {
...
   public List getListOfMyClass () { ... }
...
}

So a caller that does:

List<MyClass> listOfMyClass = mySession.getListOfMyClass ();

will have the compiler (and Eclipse) warn about type safety. While that is just 
a warning, it is still quite anoying.

Thanks again,

Zorzella
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XJD-41?page=comments#action_15520

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XJD-41

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XJD-41
    Summary: Support Java 1.5 Syntax ?
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XJavaDoc
 Components: 
             Parser
   Fix Fors:
             1.2
   Versions:
             1.0.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Hao Chen

    Created: Mon, 1 Mar 2004 9:11 AM
    Updated: Wed, 29 Dec 2004 12:32 PM

Description:
Is there any plan to upgrade the parser to support Java 1.5 syntax?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to