Summary
Clarify possible values for parsePosition
argument in ListFormat::parseObject()
Problem
Currently, there is no description about possible values for parsePosition
argument in the spec.
Solution
Add @throws IndexOutOfBoundsException
clause in the method description for invalid parseObject
argument.
Specification
Add the following @throws clause in the method description:
+ * @throws IndexOutOfBoundsException if the starting index given by
+ * {@code parsePos} is outside {@code source}.
- csr of
-
JDK-8317471 ListFormat::parseObject() spec can be improved on parsePosition valid values
-
- Resolved
-