Multi-dimensional array annotation components

Issue #54 resolved
Jesper Öqvist created an issue

JastAddJ allows multidimensional arrays as annotation components. This should not be allowed. Example from JLSv7, Chapter 9, $9.6.1:

@interface Verboten {
    String[][] value();
}

The above is not a legal annotation declaration, nested array types are not allowed as an annotation element type.

Comments (2)

  1. Log in to comment