git: openjdk/jdk21u: master: 8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match
Roger Riggs
rriggs at openjdk.org
Thu Aug 17 19:12:49 UTC 2023
Changeset: c3eda1c5
Author: Raffaello Giulietti <rgiulietti at openjdk.org>
Committer: Roger Riggs <rriggs at openjdk.org>
Date: 2023-08-17 19:10:50 +0000
URL: https://git.openjdk.org/jdk21u/commit/c3eda1c52984dd1673e010ea77583b806f27fef0
8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match
Reviewed-by: rriggs
Backport-of: 61c58fdd00727da2841a052477e4f4ecfa7094d6
! src/java.base/share/classes/java/util/regex/Matcher.java
! test/jdk/java/util/regex/ImmutableMatchResultTest.java
More information about the jdk-updates-changes
mailing list