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

Fix null-pointer regression in Vector#prependedAll and Vector#appendedAll #9983

Merged
merged 1 commit into from Apr 4, 2022

Conversation

retronym
Copy link
Member

@retronym retronym commented Mar 27, 2022

Also make a corresponding fix to appendedAll. This isn't exercised by the test case though.

Fixes scala/bug#12564

@scala-jenkins scala-jenkins added this to the 2.13.9 milestone Mar 27, 2022
@retronym retronym force-pushed the ticket/t12564-vector-npe branch 2 times, most recently from cdf2081 to d0554f2 Compare March 27, 2022 23:41
@SethTisue SethTisue added the library:collections PRs involving changes to the standard collection library label Mar 29, 2022
@SethTisue SethTisue marked this pull request as draft March 29, 2022 08:48
@retronym retronym marked this pull request as ready for review March 30, 2022 08:49
@SethTisue SethTisue requested a review from a team March 30, 2022 09:30
@lrytz
Copy link
Member

lrytz commented Mar 30, 2022

Seems you forgot to git-add the test file?

@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Mar 30, 2022
@NthPortal
Copy link
Contributor

any reason for the test not to be junit?

@jackkoenig
Copy link
Contributor

Thank y'all so much for this fix!

Also make a corresponding fix to appenededAll. This isn't exercised
by the test case though.
@lrytz lrytz merged commit 6471120 into scala:2.13.x Apr 4, 2022
@SethTisue
Copy link
Member

@jackkoenig thanks again for catching and minimizing the bug — super valuable.

@SethTisue SethTisue changed the title Fix NPE regression in Vector.prependedAll Fix null-pointer regression in Vector#prependedAll Sep 1, 2022
@SethTisue SethTisue changed the title Fix null-pointer regression in Vector#prependedAll Fix null-pointer regression in Vector#prependedAll and Vector#appendedAll Sep 1, 2022
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
6 participants