Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid illegal reflective access in CLI tests #27064

Closed
philwebb opened this issue Jun 24, 2021 · 0 comments
Closed

Avoid illegal reflective access in CLI tests #27064

philwebb opened this issue Jun 24, 2021 · 0 comments
Labels
status: forward-port An issue tracking the forward-port of a change made in an earlier branch type: task A general task
Milestone

Comments

@philwebb
Copy link
Member

Forward port of issue #26930 to 2.5.x.

@philwebb philwebb added status: forward-port An issue tracking the forward-port of a change made in an earlier branch type: task A general task labels Jun 24, 2021
@philwebb philwebb added this to the 2.5.2 milestone Jun 24, 2021
humaolin pushed a commit to humaolin/spring-boot that referenced this issue May 7, 2022
Prior to this commit, if a PathContainer was created using
Options.MESSAGE_ROUTE, DefaultPathSegment#parameters() returned a
mutable map which would allow the user to modify the contents of the
static, shared EMPTY_PARAMS map in DefaultPathContainer.

This commit prevents corruption of the shared EMPTY_PARAMS map by
ensuring that parameters stored in DefaultPathSegment are always
immutable.

Closes spring-projectsgh-27064
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: forward-port An issue tracking the forward-port of a change made in an earlier branch type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant