QDox
  1. QDox
  2. QDOX-90

; at the end of the class blows the parser

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: Parser
    • Labels:
      None
    • Number of attachments :
      0

      Description

      <dependency>
      <groupId>qdox</groupId>
      <artifactId>qdox</artifactId>
      <version>1.5</version>
      </dependency>

      public class X {

      };

      that seems to blow the parser, though existing java compilers support it (perhaps wrongly, but hey

      Caused by: com.thoughtworks.qdox.parser.ParseException: syntax error @[74,2] infile:/home/jesse/src/g-maven/g-core/src/main/java/com/gallup/axis/AGLogHandler.java
      at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
      at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
      at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
      at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:296)
      at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:312)
      at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:308)
      at com.thoughtworks.qdox.JavaDocBuilder$1.visitFile(JavaDocBuilder.java:365)
      at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:43)
      at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(Director

        Activity

        Hide
        Ernest Micklei added a comment -

        The same problem occurs when the semi-colon ( ; ) is the only character on a line (e.g. after the imports)

        Show
        Ernest Micklei added a comment - The same problem occurs when the semi-colon ( ; ) is the only character on a line (e.g. after the imports)
        Brett Porter made changes -
        Field Original Value New Value
        Reporter Jesse McConnell [ chisisi ] Jesse McConnell [ jesse ]
        Hide
        Joe Walnes added a comment -

        Fixed.

        Show
        Joe Walnes added a comment - Fixed.
        Joe Walnes made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jesse McConnell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Jesse McConnell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: