The following comment has been added to this issue:

     Author: Szczepan Kuzniarz
    Created: Mon, 29 Nov 2004 4:38 AM
       Body:
Thanks for the new version. The EmptyStackException problem is fixed, but now I 
have new exception compiling class with enums:

java.lang.IllegalStateException: Don't call setName for outer classes. Call 
setQualifiedName instead. (IndexType)
        at xjavadoc.AbstractClass.setName(AbstractClass.java:750)
        at xjavadoc.SimpleParser.EnumDeclaration(SimpleParser.java:624)
        at xjavadoc.SimpleParser.TypeDeclaration(SimpleParser.java:484)
        at xjavadoc.SimpleParser.CompilationUnit(SimpleParser.java:330)
        at xjavadoc.SimpleParser.populate(SimpleParser.java:272)
        at xjavadoc.SourceClass.parse(SourceClass.java:758)
        at xjavadoc.SourceClass.<init>(SourceClass.java:124)
        at xjavadoc.XJavaDoc.scanAndPut(XJavaDoc.java:885)
        at xjavadoc.XJavaDoc.getXClass(XJavaDoc.java:406)
        at xjavadoc.SourceClass.qualify(SourceClass.java:375)
        at xjavadoc.AbstractClass.resolveImportedClasses(AbstractClass.java:822)
        at 
xjavadoc.SimpleParser.ClassOrInterfaceDeclaration(SimpleParser.java:541)
        at xjavadoc.SimpleParser.TypeDeclaration(SimpleParser.java:480)
        at xjavadoc.SimpleParser.CompilationUnit(SimpleParser.java:330)
        at xjavadoc.SimpleParser.populate(SimpleParser.java:272)
        at xjavadoc.SourceClass.parse(SourceClass.java:758)
        at xjavadoc.SourceClass.<init>(SourceClass.java:124)
        at xjavadoc.XJavaDoc.scanAndPut(XJavaDoc.java:885)
        at xjavadoc.XJavaDoc.getXClass(XJavaDoc.java:406)
        at xjavadoc.XJavaDoc.getOuterSourceClasses(XJavaDoc.java:760)
        at xjavadoc.XJavaDoc.getSourceClasses(XJavaDoc.java:323)
        at xjavadoc.XJavaDoc.getSourceClasses(XJavaDoc.java:310)

'IndexType' reported in the first line of stacktrace is the name of my enum 
class.


Regards,

Szczepan Kuzniarz
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XJD-41?page=comments#action_15392

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XJD-41
    Summary: Support Java 1.5 Syntax ?
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XJavaDoc
 Components: 
             Parser
   Fix Fors:
             1.2
   Versions:
             1.0.2

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

    Created: Mon, 1 Mar 2004 9:11 AM
    Updated: Mon, 29 Nov 2004 4:38 AM

Description:
Is there any plan to upgrade the parser to support Java 1.5 syntax?


---------------------------------------------------------------------
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 email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to