[
http://jira.codehaus.org/browse/QDOX-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann updated QDOX-165:
-----------------------------------
Attachment: QDOX-165.zip
Attached a test project.
> ParseException on enum members with annotations that have values
> ----------------------------------------------------------------
>
> Key: QDOX-165
> URL: http://jira.codehaus.org/browse/QDOX-165
> Project: QDox
> Issue Type: Bug
> Components: Parser
> Affects Versions: 1.9.1
> Reporter: Benjamin Bentmann
> Attachments: QDOX-165.zip
>
>
> The following code snippet fails to parse
> {code:java}
> package test;
> public enum MyEnum
> {
> @Deprecated()
> SOME_VALUE,
> @SuppressWarnings("all")
> ANOTHER_VALUE;
> }
> {code}
> {noformat}
> com.thoughtworks.qdox.parser.ParseException: syntax error @[6,17] in
> src/main/java/test/MyEnum.java
> at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:999)
> at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:1305)
> at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:980)
> at
> com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:330)
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email