Relates :
|
ElementValue in JLS 9.7/18.1 allows ConditionalExpression or Annotation or ElementValueArrayInitializer. The use of ConditionalExpression is confusing because the text on page 283 limits primitive/String-typed element values to being constant expressions. Could the ElementValue grammar use ConstantExpression?
|