Skip to content

JavaBigIntegerParser can throw StringIndexOutOfBoundsException for empty string input #87

Description

@pjfanning

Reported to Jackson team FasterXML/jackson-core#1623.
The Javadoc in JavaBigIntegerParser only mentions NullPointerException and NumberFormatException.
So, would it be ok to update the Javadoc to mention StringIndexOutOfBoundsException or alternatively, to add a guard to prevent StringIndexOutOfBoundsException and to ensure NumberFormatException instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions