Skip to content

Determine which String methods that can skip nullchecks #13494

@mpirvu

Description

@mpirvu

PR #13465 introduced a change where all String methods are no longer eligible for skipping nullchecks for Java17 and up. This is was done to address a problem with String.split which does require a nullcheck in its reference implementation.
We should examine String methods and decide on a case by case basis which methods can skip nullchecks and which can't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions