QDox
  1. QDox
  2. QDOX-137

Parser fails on an annotation with empty array field

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.3
    • Fix Version/s: 1.7
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      1

      Description

      Parser fails when an annotation like this is specified on a field:

      @ImplementingClasses(classes = {})

      Attached is a Java file that failed to parse, but compiles in Sun/ IBM compiler.

        Activity

        Hide
        Paul Hammant added a comment -

        can you make a testcase that'll work for qdox in Subversion ?

        thanks,

        Show
        Paul Hammant added a comment - can you make a testcase that'll work for qdox in Subversion ? thanks,
        Hide
        Dennis Lundberg added a comment -

        I tried and verified that your file fails to parse in 1.6.3. Using the latest version built from svn it parses successfully.

        Show
        Dennis Lundberg added a comment - I tried and verified that your file fails to parse in 1.6.3. Using the latest version built from svn it parses successfully.
        Dennis Lundberg made changes -
        Field Original Value New Value
        Fix Version/s 1.7 [ 11160 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Hide
        Stanislaw Osinski added a comment -

        Thanks for checking this! Next time I have parser issues, I'll check with the trunk version.

        Show
        Stanislaw Osinski added a comment - Thanks for checking this! Next time I have parser issues, I'll check with the trunk version.

          People

          • Assignee:
            Unassigned
            Reporter:
            Stanislaw Osinski
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: