Content-Length: 267701 | pFad | https://github.com/scala/scala/pull/10640

1C [backport] Fix rare `NullPointerException` in some tree-based collections by lrytz · Pull Request #10640 · scala/scala · GitHub
Skip to content

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

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

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

lrytz
Copy link
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/scala/scala/pull/10640

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy