QDox
  1. QDox
  2. QDOX-204

/***/ in Java file causes ParseException in version 1.6.3

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.6.3
    • Fix Version/s: 1.11
    • Component/s: Parser
    • Labels:
      None
    • Number of attachments :
      0

      Description

      We get ParseException as follows when we try to parse a java file that contains /***/ as comment or javadoc for any method.

      com.thoughtworks.qdox.parser.ParseException: syntax error @[10,1] in UNKNOWN SOURCE
      at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:716)
      at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:826)
      at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:697)
      at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:300)
      at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:290)

      Question: When java compiler ignores it and compiles it, why should that be not ignored?

        Activity

        Hide
        Robert Scholte added a comment -

        Why not upgrade to 1.10.1? QDox-1.6.3 was released in june 2007, this most recent is dated december 2009. Especially 1.10 has an improved implementation of handling javadoc comments.
        Please read http://qdox.codehaus.org/upgrade.html for the details how to upgrade your code.

        Small answer to your question: QDox parses the sourcecode, meaning it first has to recognize the /** as javadoc before knowing how to handle this codefragment.

        I've closed this issue as Won't Fix. First upgrade to the most recent version. If the issue is still there, just reopen this one.

        Show
        Robert Scholte added a comment - Why not upgrade to 1.10.1? QDox-1.6.3 was released in june 2007, this most recent is dated december 2009. Especially 1.10 has an improved implementation of handling javadoc comments. Please read http://qdox.codehaus.org/upgrade.html for the details how to upgrade your code. Small answer to your question: QDox parses the sourcecode, meaning it first has to recognize the /** as javadoc before knowing how to handle this codefragment. I've closed this issue as Won't Fix. First upgrade to the most recent version. If the issue is still there, just reopen this one.
        Robert Scholte made changes -
        Field Original Value New Value
        Resolution Won't Fix [ 2 ]
        Fix Version/s 1.11 [ 16104 ]
        Status Open [ 1 ] Closed [ 6 ]
        Hide
        Sandeep Manepalli Gururaj added a comment -

        Thanks very much for the reply. Version 1.10.1 worked for me.

        Show
        Sandeep Manepalli Gururaj added a comment - Thanks very much for the reply. Version 1.10.1 worked for me.

          People

          • Assignee:
            Unassigned
            Reporter:
            Sandeep Manepalli Gururaj
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: