[XDoclet-JIRA] Assigned: (XJD-48) Eliminate enum variable, as it's a JDK1.5 reserved word

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

   The following issue has been re-assigned.

   Assignee: Anton Adamansky (mailto:[email protected])
---------------------------------------------------------------------
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: Anton Adamansky
   Reporter: Andrew Stevens

    Created: Mon, 4 Oct 2004 5:18 PM
    Updated: Fri, 19 Aug 2005 12:50 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



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