Details
-
Type: Bug
-
Status: Resolved
-
Priority: 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 :
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
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 ] |
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.