Multi-dimensional array annotation components
Issue #54
resolved
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)
-
reporter -
reporter - changed status to resolved
- Log in to comment
Added tests
annotation/array_02f
,annotation/array_03f
.