PR #27063 made me aware of the following existing bug.
If a PathContainer
is created using Options.MESSAGE_ROUTE
, DefaultPathSegment#parameters()
returns a mutable map which allows the user to modify the contents of the static, shared EMPTY_PARAMS
map in DefaultPathContainer
.