The following comment has been added to this issue:
Author: Anton Adamansky
Created: Wed, 27 Jul 2005 11:54 PM
Body:
javacc 3.2 parser generates src codes complied with java 5,
but in xjavadoc build lib the two versions of parser are presented (3.2 and old
one). I don't know which parser will be chosen by <javacc> ant task at build
time :) For backward build compatibility (old ant versions) the old javacc
parser remains in libs. We really need this compatibility ??
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XJD-48?page=comments#action_17070
---------------------------------------------------------------------
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: Wed, 27 Jul 2005 11:54 PM
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
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel