git: openjdk/jdk: 8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match

Raffaello Giulietti rgiulietti at openjdk.org
Fri Aug 4 07:13:10 UTC 2023


Changeset: 61c58fdd
Author:    Raffaello Giulietti <rgiulietti at openjdk.org>
Date:      2023-08-04 07:11:18 +0000
URL:       https://git.openjdk.org/jdk/commit/61c58fdd00727da2841a052477e4f4ecfa7094d6

8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match

Reviewed-by: alanb, smarks

! src/java.base/share/classes/java/util/regex/Matcher.java
! test/jdk/java/util/regex/ImmutableMatchResultTest.java



More information about the jdk-changes mailing list