Skip to content

Commit

Permalink
8317471: ListFormat::parseObject() spec can be improved on parsePosit…
Browse files Browse the repository at this point in the history
…ion valid values

Reviewed-by: iris, lancea, joehw, mli
  • Loading branch information
naotoj committed Oct 9, 2023
1 parent a07a4a3 commit 1f06325
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/java.base/share/classes/java/text/ListFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ public List<String> parse(String source) throws ParseException {
* @return A list of string parsed from the {@code source}.
* In case of error, returns null.
* @throws NullPointerException if {@code source} or {@code parsePos} is null.
* @throws IndexOutOfBoundsException if the starting index given by
* {@code parsePos} is outside {@code source}.
*/
@Override
public Object parseObject(String source, ParsePosition parsePos) {
Expand Down

1 comment on commit 1f06325

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.