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.