The following issue has been updated: Updater: Heiko W. Rupp (mailto:[EMAIL PROTECTED]) Date: Sat, 11 Jun 2005 8:15 AM Changes: Fix Version changed to 1.5 --------------------------------------------------------------------- For a full history of the issue, see:
http://opensource.atlassian.com/projects/xdoclet/browse/XJD-47?page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-47 Here is an overview of the issue: --------------------------------------------------------------------- Key: XJD-47 Summary: Extraneous ";" causes XDoclet Parser to Fail Type: Bug Status: Open Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XJavaDoc Components: Parser Fix Fors: 1.5 Versions: 1.0.2 Assignee: xdoclet-devel (Use for new issues) Reporter: Jim Brownfield Created: Mon, 13 Sep 2004 5:36 PM Updated: Sat, 11 Jun 2005 8:15 AM Environment: $uname -a Linux xxxxx.xxxxxx.xxx 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i686 unknown unknown GNU/Linux $ java -version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode) Description: Certain circumstances where an extraneous ";" exists in the source code causes XDoclet to fail where the java compilers execute properly: Example: The code snipped below has an inner static class defined that is terminated by a ";": public class MyClass { public static class RevisionInformation { public static String revisionInformation() { return "$Revision: 1.20 $"; } }; ... This will cause XDoclet to fail with an error like: [webdoclet] Generating web.xml. [webdoclet] Error parsing File /home/xxx/xxx/src/com/xxx/xxx/xxx/MyClass.java:Encountered ";" at line 23, column 10. [webdoclet] Was expecting one of: [webdoclet] "abstract" ... [webdoclet] "boolean" ... [webdoclet] "byte" ... [webdoclet] "char" ... [webdoclet] "class" ... [webdoclet] "double" ... [webdoclet] "final" ... [webdoclet] "float" ... [webdoclet] "int" ... [webdoclet] "interface" ... [webdoclet] "long" ... [webdoclet] "native" ... [webdoclet] "private" ... [webdoclet] "protected" ... [webdoclet] "public" ... [webdoclet] "short" ... [webdoclet] "static" ... [webdoclet] "synchronized" ... [webdoclet] "transient" ... [webdoclet] "void" ... [webdoclet] "volatile" ... [webdoclet] "strictfp" ... [webdoclet] <IDENTIFIER> ... [webdoclet] "{" ... [webdoclet] "}" ... [webdoclet] --------------------------------------------------------------------- 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