Details
Description
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.
Activity
Robert Scholte
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.8 [ 14826 ] | |
Resolution | Cannot Reproduce [ 5 ] | |
Assignee | Robert Scholte [ rfscholte ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
added example as test, but doesn't fail (anymore). Issue closed