Community
Participate
Working Groups
The attached code fragment parses an annotated but otherwise modifier-less method, and then attempts to access the annotation in the resulting AST. It fails because the method's modifier list is empty. Note that this is not the case if "public", "private", or "protected" appear after the annotation.
Created attachment 17356 [details] Code fragment to reproduce
This is in 3.1 M4.
*** This bug has been marked as a duplicate of 82140 ***