The following comment has been added to this issue:

     Author: Heiko W. Rupp
    Created: Sat, 11 Jun 2005 8:08 AM
       Body:
Andrew,
can you please check if this is still true after applying the patch from XJD-41?
-Heiko
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XJD-48?page=comments#action_16751

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XJD-48
    Summary: Eliminate enum variable, as it's a JDK1.5 reserved word
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XJavaDoc
 Components: 
             Parser
   Fix Fors:
             1.5
   Versions:
             1.1

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

    Created: Mon, 4 Oct 2004 5:18 PM
    Updated: Sat, 11 Jun 2005 8:08 AM

Description:
The source of the generated parser classes uses 'enum' as the variable name of 
an Enumeration.  This means they won't compile with JDK 1.5, as that's now a 
reserved word.

However, the code in question is in jj_add_error_token, a javacc utility 
method, so there's nothing in the grammar file that we can edit to eliminate 
this.  Instead, we'll have to upgrade to a later version of javacc, assuming 
there's one which fixes this.


---------------------------------------------------------------------
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



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to