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.
added example as test, but doesn't fail (anymore). Issue closed