-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 7
-
Component/s: specification
-
None
-
rc
-
generic
-
generic
-
Verified
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?
- relates to
-
JDK-6442525 Syntax specification (section 18) is inconsistent with other sections
-
- Closed
-