Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[backport] Fix rare NullPointerException in some tree-based collections#10640

Merged
SethTisue merged 1 commit into
scala:2.12.xfrom
lrytz:t12921-backport
Jan 18, 2024
Merged

[backport] Fix rare NullPointerException in some tree-based collections#10640
SethTisue merged 1 commit into
scala:2.12.xfrom
lrytz:t12921-backport

Conversation

@lrytz
Copy link
Copy Markdown
Member

@lrytz lrytz commented Dec 19, 2023

...by fixing RedBlackTree.doFrom

upd may return a red tree with a red child. Need to use maybeBlacken when such a tree is not expected.

Backport of #10632.

@scala-jenkins scala-jenkins added this to the 2.12.19 milestone Dec 19, 2023
`upd` may return a red tree with a red child. Need to use `maybeBlacken`
when such a tree is not expected.
@SethTisue SethTisue added the prio:hi high priority (used only by core team, only near release time) label Dec 22, 2023
@SethTisue SethTisue added library:collections PRs involving changes to the standard collection library and removed prio:hi high priority (used only by core team, only near release time) labels Jan 18, 2024
@SethTisue SethTisue merged commit e8ace4b into scala:2.12.x Jan 18, 2024
@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Jan 18, 2024
@SethTisue SethTisue changed the title [backport] Fix RedBlackTree.doFrom / doTo / doUntil [backport] Fix rare NullPointerException in some tree-based collections (by fixing RedBlackTree.doFrom) Jan 22, 2024
@SethTisue SethTisue changed the title [backport] Fix rare NullPointerException in some tree-based collections (by fixing RedBlackTree.doFrom) [backport] Fix rare NullPointerException in some tree-based collections Feb 6, 2024
hamzaremmal pushed a commit to hamzaremmal/scala3 that referenced this pull request May 2, 2025
[backport] Fix RedBlackTree.doFrom / doTo / doUntil
hamzaremmal pushed a commit to scala/scala3 that referenced this pull request May 7, 2025
[backport] Fix RedBlackTree.doFrom / doTo / doUntil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

library:collections PRs involving changes to the standard collection library release-notes worth highlighting in next release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants