[XDoclet-JIRA] Created: (XDT-1499) @SuppressWarnings("unchecked") attribute cause problems

[email protected]
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1499

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1499
    Summary: @SuppressWarnings("unchecked") attribute cause problems
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Hibernate Module
   Versions:
             1.2.3

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

    Created: Wed, 10 Aug 2005 5:14 AM
    Updated: Wed, 10 Aug 2005 5:14 AM
Environment: Eclispe 3.1, MyEclipse 4M2, JDK 1.5_02

Description:
Scenario:
Class P extends E
where E is abstract and has an ID defined as Integer
Class P is using List and due to the JDK 1.5 warning Type Safty: I use @SuppressWarnings("unchecked")

This cause XDoclet to fail on this class and 

[hibernatedoclet] ERROR - XDocletMain.start(53) | Running XDoclet failed.
[hibernatedoclet] ERROR - XDocletMain.start(54) | <<Class P misses ID property>>

if this attr is removed XDoclet generate proper hibernate mapping file


---------------------------------------------------------------------
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.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.