Skip to content

sbt-dotty: fix "sbt doc" after the Java rewrite #5804

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 27, 2019

Conversation

smarter
Copy link
Member

@smarter smarter commented Jan 27, 2019

If args0 is bigger than retained, retained.toArray(args0) will fill
args0 with the elements of retained and fill the rest with null,
leading to an NPE later on. This was caught by the sbt scripted tests and
can be reproduced by running:

sbt-dotty/scripted sbt-dotty/example-project

If args0 is bigger than retained, `retained.toArray(args0)` will fill
args0 with the elements of retained and fill the rest with `null`,
leading to an NPE later on. This was caught by the sbt scripted tests and
can be reproduced by running:

sbt-dotty/scripted sbt-dotty/example-project
@smarter smarter requested a review from sjrd January 27, 2019 14:22
@smarter
Copy link
Member Author

smarter commented Jan 27, 2019

Merging now cause I need a working nightly to make my bootstrap PR.

@smarter smarter merged commit 30b6a02 into scala:master Jan 27, 2019
@allanrenucci allanrenucci deleted the fix-sbt-tests branch January 27, 2019 16:10
Copy link
Member

@sjrd sjrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants