RFR: 8309515: Stale cached data from Matcher.namedGroups() after Matcher.usePattern()

Raffaello Giulietti rgiulietti at openjdk.org
Wed Jun 7 11:27:15 UTC 2023


On Wed, 7 Jun 2023 11:20:02 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> The cached `namedGroup` field must be invalidated during an invocation of `Matcher.usePattern()`

Also added a test for this change.

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

PR Comment: https://git.openjdk.org/jdk/pull/14350#issuecomment-1580578032


More information about the core-libs-dev mailing list