QDox
  1. QDox
  2. QDOX-141

Annotation values have trailing quotes

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      build 497
    • Testcase included:
      yes
    • Number of attachments :
      0

      Description

      I just updated to build 497 and found that annotation values occasionally have extra quotes tacked on the end. For example, the value of @AsFunctional(returnType="Set") sometimes comes out as Set" (with trailing quote).

      For a reproducible test, apply the parser.y patch I submitted in QDOX-79, and run the associated EnumsModelTest.java. Tests that succeeded in build 485 fail in the most recent build.

        Activity

        Hide
        Andrew Mickish added a comment -

        I was hasty in judging this new behavior.

        It turns out that the former QDox was eating the closing quote of the annotation value, while the new version provides it.

        The new behavior is better, but requires application-level source code changes that have not been expecting the closing quote.

        Show
        Andrew Mickish added a comment - I was hasty in judging this new behavior. It turns out that the former QDox was eating the closing quote of the annotation value, while the new version provides it. The new behavior is better, but requires application-level source code changes that have not been expecting the closing quote.
        Andrew Mickish made changes -
        Field Original Value New Value
        Resolution Not A Bug [ 6 ]
        Fix Version/s 1.7 [ 11160 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrew Mickish
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: