[
http://jira.codehaus.org/browse/QDOX-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed QDOX-142.
-------------------------------
Assignee: Robert Scholte
Resolution: Cannot Reproduce
Fix Version/s: 1.8
added example as test, but doesn't fail (anymore). Issue closed
> Parsing of annotations with empty parameter lists fails
> -------------------------------------------------------
>
> Key: QDOX-142
> URL: http://jira.codehaus.org/browse/QDOX-142
> Project: QDox
> Issue Type: Bug
> Components: Parser
> Affects Versions: 1.6.3
> Environment: Java 1.5.0_11
> Reporter: Daniel Bakkelund
> Assignee: Robert Scholte
> Fix For: 1.8
>
>
> Devlarations like
> @MyAnnotation()
> public class MyClass {}
> compiles with Javac etc, but parsing fails with syntax error.
> (The syntax withtout parentheses
> @MyAnnotation
> public class MyClass {}
> works though).
> Ironically, the top most example is the result of calling toString on an
> Annotation object.
--
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