On Mon, 23 Jun 2025 20:14:36 GMT, Naoto Sato <na...@openjdk.org> wrote:

> Fixing the side-effect caused by calling `StringTokenizer.nextToken(null)`, 
> where the delimiter is set to `null` even if the method throws an NPE.

Indeed, looking at the spec, we would anticipate an exception means no change 
has been committed to a StringTokenizer.

-------------

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25942#pullrequestreview-2951520968

Reply via email to