jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • QDox
  • QDOX-141

Annotation values have trailing quotes

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

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

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Andrew Mickish added a comment - 16/Jul/08 12:48 PM

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 - 16/Jul/08 12:48 PM 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.

People

  • Assignee:
    Unassigned
    Reporter:
    Andrew Mickish
Vote (0)
Watch (0)

Dates

  • Created:
    16/Jul/08 11:18 AM
    Updated:
    16/Jul/08 12:48 PM
    Resolved:
    16/Jul/08 12:48 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.