Skip to content

[To dev/1.3] Fixed the bug that nodes with non-trivial wildcards are not correctly handled in mods setting (#12978) - #18666

Open
Caideyipi wants to merge 1 commit into
apache:dev/1.3from
Caideyipi:cherry-pick-12978-to-dev-1.3
Open

Caideyipi wants to merge 1 commit into
apache:dev/1.3from
Caideyipi:cherry-pick-12978-to-dev-1.3

Conversation

@Caideyipi

@Caideyipi Caideyipi commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Description

Backports #12978 (commit 1ca1f9c0b9136e43b2c53e415df1a38fd9c1d154) to dev/1.3.

The fix indexes and matches path nodes containing non-trivial wildcards such as d* when applying modifications. It also handles null nodes in PathPatternUtil.hasWildcard and accounts for the additional index in memory usage.

Verification

  • PatternTreeMapTest: 2 tests passed
  • Targeted Maven reactor test: 26 modules successful, 0 failures
  • Spotless and Checkstyle passed

… handled in mods setting (apache#12978)

(cherry picked from commit 1ca1f9c)
@ColinLeeo

Copy link
Copy Markdown
Collaborator

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants